From b1efee16493affcce894e70a36ff7a541012ccbc Mon Sep 17 00:00:00 2001 From: Przemyslaw Grondek Date: Mon, 18 Sep 2023 17:50:08 +0200 Subject: [PATCH] Kill polybar before launching it --- bin/bar | 2 ++ 1 file changed, 2 insertions(+) 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 &