Compare commits

..

2 commits

2 changed files with 12 additions and 1 deletions

View file

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