From 28533e70030debf53e485067392486fbfbee429b Mon Sep 17 00:00:00 2001 From: Il mastro Stefanuzzo Date: Wed, 20 Jul 2022 21:45:49 +0000 Subject: [PATCH] Greatly improve Polybar launch/reload speed --- .config/polybar/launch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh index f931825..60b6f87 100755 --- a/.config/polybar/launch.sh +++ b/.config/polybar/launch.sh @@ -4,7 +4,7 @@ killall -q polybar # Wait until the processes have been shut down -while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done +while pgrep -u $UID -x polybar >/dev/null; do : ; done for m in $(polybar --list-monitors | cut -d":" -f1); do WIRELESS=$(ls /sys/class/net/ | grep ^wl | awk 'NR==1{print $1}') MONITOR=$m polybar --reload mainbar-i3 &