# Terminate already running bar instances killall -q polybar # Wait until the processes have been shut down while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done sleep 1 MONITOR="HDMI-1-0" polybar --reload fz0x1 -c ~/.config/polybar/config.ini &