diff --git a/files/dwm/dwm-start.sh b/files/dwm/dwm-start.sh index 4faedf2..5243da3 100755 --- a/files/dwm/dwm-start.sh +++ b/files/dwm/dwm-start.sh @@ -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