Make my script to install for autostarting apps before DWM

This commit is contained in:
Jarkko Toivanen 2024-07-30 17:11:12 +03:00
parent c2f0c17fed
commit 2d3cdf9557
2 changed files with 4 additions and 2 deletions

View file

@ -37,9 +37,12 @@ install: all
mkdir -p ${DESTDIR}${MANPREFIX}/man1 mkdir -p ${DESTDIR}${MANPREFIX}/man1
sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1 sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1 chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1
cp -f startdwm ${DESTDIR}${PREFIX}/bin
chmod 755 ${DESTDIR}${PREFIX}/bin/startdwm
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
.PHONY: all clean dist install uninstall .PHONY: all clean dist install uninstall

View file

@ -1,5 +1,4 @@
#!/bin/sh #!/bin/sh
#/usr/local/bin/startdwm
slstatus & slstatus &
pasystray & pasystray &
nm-applet & nm-applet &