dotfiles/files/dwm/dwm-start.sh

18 lines
321 B
Bash
Executable file

#!/bin/sh
LITE=${LITE:-no}
xsetroot -solid black
start_apps() {
nm-applet &
flameshot &
discord &
firefox &
}
[ "$LITE" = "yes" ] || /usr/local/bin/dwm-status &
[ "$LITE" = "yes" ] || (sleep 1 && start_apps) &
feh -zZ --bg-scale $HOME/Pictures/background.*
[ "${NO_DWM:-no}" = "yes" ] || exec dwm >/dev/null