add desktop entry for display managers

This commit is contained in:
gutmet 2022-12-09 23:32:48 +01:00
parent 7c04886897
commit 9c623ae951
2 changed files with 7 additions and 0 deletions

View File

@ -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\

5
dwm.desktop Normal file
View File

@ -0,0 +1,5 @@
[Desktop Entry]
Name=dwm
Comment=dwm
Exec=/usr/local/bin/dwm
Type=Application