Make my script to install for autostarting apps before DWM
This commit is contained in:
parent
c2f0c17fed
commit
2d3cdf9557
2 changed files with 4 additions and 2 deletions
5
Makefile
5
Makefile
|
@ -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
|
||||||
|
|
1
startdwm
1
startdwm
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#/usr/local/bin/startdwm
|
|
||||||
slstatus &
|
slstatus &
|
||||||
pasystray &
|
pasystray &
|
||||||
nm-applet &
|
nm-applet &
|
||||||
|
|
Loading…
Reference in a new issue