.dotfiles/linux/.config/polybar/launch.sh
2024-11-06 21:28:27 +00:00

9 lines
255 B
Bash
Executable file

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