Adding .desktop session file to autoinstall
This commit is contained in:
parent
9dfec539c5
commit
3902feca3d
2 changed files with 12 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -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
7
dwm-session.desktop
Normal file
|
@ -0,0 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=dwm
|
||||
Comment=Dynamic window manager
|
||||
Exec=startdwm
|
||||
Icon=dwm
|
||||
Type=XSession
|
Loading…
Reference in a new issue