From 9c623ae9519c6e6812ff868013026db4c02a23e9 Mon Sep 17 00:00:00 2001 From: gutmet Date: Fri, 9 Dec 2022 23:32:48 +0100 Subject: [PATCH] add desktop entry for display managers --- Makefile | 2 ++ dwm.desktop | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 dwm.desktop diff --git a/Makefile b/Makefile index e56f9ff..40910f3 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,8 @@ 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 + mkdir -p /usr/share/xsessions + cp -f dwm.desktop /usr/share/xsessions uninstall: rm -f ${DESTDIR}${PREFIX}/bin/dwm\ diff --git a/dwm.desktop b/dwm.desktop new file mode 100644 index 0000000..c8fef79 --- /dev/null +++ b/dwm.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Name=dwm +Comment=dwm +Exec=/usr/local/bin/dwm +Type=Application