Kill polybar before launching it

This commit is contained in:
Przemyslaw Grondek 2023-09-18 17:50:08 +02:00
parent 9dc27648c5
commit b1efee1649

View File

@ -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 &