From dc8b55278720168a2c83b7722ee3208f2c808fd1 Mon Sep 17 00:00:00 2001 From: Mateja Date: Fri, 16 Apr 2021 15:43:50 +0200 Subject: Add `.desktop` file for display managers. --- Makefile | 2 ++ dwm.desktop | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 dwm.desktop 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 -- cgit v1.2.3