aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--dwm.desktop7
2 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 77bcbc0..b3dbe1e 100644
--- a/Makefile
+++ b/Makefile
@@ -43,9 +43,11 @@ install: all
mkdir -p ${DESTDIR}${MANPREFIX}/man1
sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1
+ cp -f dwm.desktop /usr/share/xsessions/
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/dwm\
${DESTDIR}${MANPREFIX}/man1/dwm.1
+ rm -f /usr/share/xsessions/dwm.desktop
.PHONY: all options clean dist install uninstall
diff --git a/dwm.desktop b/dwm.desktop
new file mode 100644
index 0000000..a3e5cd4
--- /dev/null
+++ b/dwm.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=DWM
+Comment=Mateja's fork of DWM
+Exec=dwm
+Icon=dwm
+Type=XSession