aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnInternetTroll <lucafulger@gmail.com>2022-05-17 14:22:45 +0000
committerAnInternetTroll <lucafulger@gmail.com>2022-05-17 14:22:45 +0000
commit690e3f53a720570806275465b3cee9a8058e64f3 (patch)
treebd147fb198e99eb88e7dfccfd779276023bcaad4
parentffd5a948e0a26ef274827760558590c502a87d1b (diff)
downloaddotfiles-690e3f53a720570806275465b3cee9a8058e64f3.tar
dotfiles-690e3f53a720570806275465b3cee9a8058e64f3.tar.gz
dotfiles-690e3f53a720570806275465b3cee9a8058e64f3.tar.bz2
dotfiles-690e3f53a720570806275465b3cee9a8058e64f3.tar.lz
dotfiles-690e3f53a720570806275465b3cee9a8058e64f3.tar.xz
dotfiles-690e3f53a720570806275465b3cee9a8058e64f3.tar.zst
dotfiles-690e3f53a720570806275465b3cee9a8058e64f3.zip
Add .desktop file to Makefile for dwm
-rw-r--r--dwm/chadwm/Makefile1
-rw-r--r--dwm/chadwm/dwm.dekstop6
2 files changed, 7 insertions, 0 deletions
diff --git a/dwm/chadwm/Makefile b/dwm/chadwm/Makefile
index c05dbdd..0036069 100644
--- a/dwm/chadwm/Makefile
+++ b/dwm/chadwm/Makefile
@@ -39,6 +39,7 @@ dist: clean
install: all
mkdir -p ${DESTDIR}${PREFIX}/bin
cp -f dwm ${DESTDIR}${PREFIX}/bin
+ cp -f dwm.dekstop /usr/share/xsessions/dwm.desktop || cp -f dwm.dekstop /usr/local/share/xsessions/dwm.desktop
chmod 755 ${DESTDIR}${PREFIX}/bin/dwm
mkdir -p ${DESTDIR}${MANPREFIX}/man1
sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
diff --git a/dwm/chadwm/dwm.dekstop b/dwm/chadwm/dwm.dekstop
new file mode 100644
index 0000000..36d6282
--- /dev/null
+++ b/dwm/chadwm/dwm.dekstop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Name=dwm
+Comment=dynamic window manager
+Exec=/home/luca/.dwm/autostart
+Type=Application
+