diff --git a/Makefile b/Makefile index 3f26804..c3b4014 100644 --- a/Makefile +++ b/Makefile @@ -37,9 +37,12 @@ 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 ${DESTDIR}${PREFIX}/share/xsessions + cp -f dwm.desktop ${DESTDIR}/usr/share/xsessions uninstall: rm -f ${DESTDIR}${PREFIX}/bin/dwm\ - ${DESTDIR}${MANPREFIX}/man1/dwm.1 + ${DESTDIR}${MANPREFIX}/man1/dwm.1 \ + ${DESTDIR}/usr/share/xsessions/dwm.desktop .PHONY: all clean dist install uninstall diff --git a/dwm.desktop b/dwm.desktop new file mode 100644 index 0000000..548062c --- /dev/null +++ b/dwm.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=dwm +Comment=dynamic tiling window manager +Exec=dwm +TryExec=dwm +Type=Application +X-LightDM-DesktopName=dwm +DesktopNames=dwm +Keywords=tiling;wm;windowmanager;window;manager;