feat: DWM start script envvars
This commit is contained in:
parent
f0bb78922d
commit
eff3dffdce
1 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue