Kill polybar before launching it
This commit is contained in:
parent
9dc27648c5
commit
b1efee1649
1 changed files with 2 additions and 0 deletions
2
bin/bar
2
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 &
|
||||
|
|
Loading…
Reference in a new issue