diff --git a/Makefile b/Makefile index e66f322..d57cb1f 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ PREFIX ?= /usr BINDIR ?= $(PREFIX)/bin MANDIR ?= $(PREFIX)/share/man/man1 APPDIR ?= $(PREFIX)/share/applications +ICODIR ?= $(PREFIX)/share/icons/hicolor/ PACKAGES = x11 xcomposite xfixes xdamage xrender xext xrandr LIBS = -lm -lrt @@ -155,6 +156,8 @@ install: $(BINS) docs ifneq "$(MANPAGES)" "" @install -m644 $(MANPAGES) "$(DESTDIR)$(MANDIR)"/ endif + @install -m644 media/compton.svg "$(DESTDIR)$(ICODIR)/scalable/apps"/ + @install -m644 media/icons/48x48/compton.png "$(DESTDIR)$(ICODIR)/48x48/apps"/ @install -m644 compton.desktop "$(DESTDIR)$(APPDIR)"/ ifneq "$(DOCDIR)" "" @install -d "$(DESTDIR)$(DOCDIR)" diff --git a/compton.desktop b/compton.desktop index 4a2875f..cd15ca3 100644 --- a/compton.desktop +++ b/compton.desktop @@ -7,5 +7,5 @@ Comment=A X compositor Categories=Utility; TryExec=compton Exec=compton -# Icon=xcompmgr +Icon=compton # Thanks to quequotion for providing this file! diff --git a/media/compton.svg b/media/compton.svg new file mode 100644 index 0000000..cfe1842 --- /dev/null +++ b/media/compton.svg @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/media/icons/48x48/compton.png b/media/icons/48x48/compton.png new file mode 100644 index 0000000..8eb6320 Binary files /dev/null and b/media/icons/48x48/compton.png differ