diff --git a/suckless/config/dwm/statusbar b/suckless/config/dwm/statusbar index cb18ffa..35587a4 100755 --- a/suckless/config/dwm/statusbar +++ b/suckless/config/dwm/statusbar @@ -120,9 +120,15 @@ restart() { $FP loop & } -if [ "$1" = "loop" ]; then - start -else - restart -fi +case "$1" in + loop) + start + ;; + dryrun) + statusbar + ;; + *) + restart + ;; +esac