feat: DWM start script envvars

This commit is contained in:
Didier Slof 2023-03-07 12:11:07 +01:00
parent f0bb78922d
commit eff3dffdce
Signed by: didier
GPG key ID: 01E71F18AA4398E5

View file

@ -1,5 +1,7 @@
#!/bin/sh
LITE=${LITE:-no}
xsetroot -solid black
#while loop to update statusbar with some goodies
@ -23,15 +25,15 @@ while true; do
sleep 1
done &
nm-applet &
flameshot &
feh -z -Z --bg-scale $HOME/Pictures/background.*
start_apps() {
nm-applet &
flameshot &
discord &
firefox &
}
(sleep 1 && start_apps) &
[ "$LITE" = "yes" ] || (sleep 1 && start_apps) &
exec dwm >/dev/null
[ "${NO_DWM:-no}" = "yes" ] || exec dwm >/dev/null