diff --git a/bin/bar b/bin/bar index fca99d9..b208c84 100755 --- a/bin/bar +++ b/bin/bar @@ -2,6 +2,8 @@ set -x +killall polybar + if type "xrandr"; then for m in $(xrandr --query | grep " connected" |grep "primary" | cut -d" " -f1); do MONITOR=$m polybar --reload dwm &