From 5d743a1192151ecc84e30512b9a8a23cef09147b Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Thu, 2 Apr 2020 02:43:09 -0400 Subject: [PATCH] Update launch_polybar --- .local/bin/launch_polybar | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/launch_polybar b/.local/bin/launch_polybar index 4322a00a..85f3a66b 100755 --- a/.local/bin/launch_polybar +++ b/.local/bin/launch_polybar @@ -1,10 +1,10 @@ #!/bin/sh # Terminate already running bar instances -killall -q polybar +#killall -q polybar # Wait until the processes have been shut down -while pgrep -x polybar >/dev/null; do sleep 1; done +while pgrep -x polybar >/dev/null; killall -q polybar; done for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do MONITOR=$m polybar --reload main &