Adding .desktop session file to autoinstall

This commit is contained in:
Jarkko Toivanen 2024-08-16 19:41:03 +03:00
parent 9dfec539c5
commit 3902feca3d
Signed by: jt
GPG key ID: 9151B109B73ECAD5
2 changed files with 12 additions and 1 deletions

View file

@ -39,10 +39,14 @@ install: all
chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1
cp -f startdwm ${DESTDIR}${PREFIX}/bin
chmod 755 ${DESTDIR}${PREFIX}/bin/startdwm
cp -f dwm-session.desktop /usr/share/xsessions/
chmod 644 /usr/share/xsessions/dwm-session.desktop
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/dwm\
${DESTDIR}${MANPREFIX}/man1/dwm.1\
${DESTDIR}${PREFIX}/bin/startdwm
${DESTDIR}${PREFIX}/bin/startdwm\
/usr/share/xsessions/dwm-session.desktop
.PHONY: all clean dist install uninstall

7
dwm-session.desktop Normal file
View file

@ -0,0 +1,7 @@
[Desktop Entry]
Encoding=UTF-8
Name=dwm
Comment=Dynamic window manager
Exec=startdwm
Icon=dwm
Type=XSession