From 3411a6242ba6bc2217a5f3822d474384237a9569 Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Sat, 24 Oct 2015 15:06:08 -0400 Subject: Add icon --- Makefile | 15 +++++++++++++-- xrandr-slightly-fewer-tears.desktop | 2 ++ xsft.png | Bin 0 -> 209952 bytes 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 xsft.png diff --git a/Makefile b/Makefile index 9cb818c..06fab1d 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,14 @@ +PREFIX=/usr +BINDIR=${PREFIX}/bin +ICODIR=${PREFIX}/share/icons/hicolor/256x256/apps +APPDIR=${PREFIX}/share/applications + install: - install xsft.py /usr/local/bin - install xrandr-slightly-fewer-tears.desktop /usr/local/share/applications + install -Dv xsft.py ${BINDIR} + install -Dv xsft.png ${ICODIR} + install -Dv xrandr-slightly-fewer-tears.desktop ${APPDIR} + +uninstall: + rm -f ${BINDIR}/xsft.py + rm -f ${ICODIR}/xsfticon.png + rm -f ${APPDIR}/xrandr-slightly-fewer-tears.desktop diff --git a/xrandr-slightly-fewer-tears.desktop b/xrandr-slightly-fewer-tears.desktop index 898406b..8ce764e 100644 --- a/xrandr-slightly-fewer-tears.desktop +++ b/xrandr-slightly-fewer-tears.desktop @@ -1,4 +1,6 @@ [Desktop Entry] Name=Xrandr Slightly Fewer Tears Exec=xsft.py +Icon=xsft Type=Application +Categories=GTK;GNOME;Utility; diff --git a/xsft.png b/xsft.png new file mode 100644 index 0000000..055ce43 Binary files /dev/null and b/xsft.png differ -- cgit