aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2015-10-24 15:06:08 -0400
committerNicholas Bishop <nicholasbishop@gmail.com>2015-10-24 15:06:08 -0400
commit3411a6242ba6bc2217a5f3822d474384237a9569 (patch)
tree22596824e7dd9cabf0d3a59131d89e87e04e45d0
parentAdd a tiny makefile for installing to /usr/local (diff)
downloadxbright-3411a6242ba6bc2217a5f3822d474384237a9569.tar.gz
xbright-3411a6242ba6bc2217a5f3822d474384237a9569.tar.bz2
xbright-3411a6242ba6bc2217a5f3822d474384237a9569.zip
Add icon
-rw-r--r--Makefile15
-rw-r--r--xrandr-slightly-fewer-tears.desktop2
-rw-r--r--xsft.pngbin0 -> 209952 bytes
3 files changed, 15 insertions, 2 deletions
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
--- /dev/null
+++ b/xsft.png
Binary files differ
bgstack15