dotfiles/.config/waybar/launch.sh

11 lines
200 B
Bash
Raw Normal View History

2021-03-25 02:33:49 -04:00
#!/usr/bin/env sh
# Terminate already running bar instances
killall -q waybar
# Wait until the processes have been shut down
while pgrep -x waybar >/dev/null; do sleep 1; done
# Launch main
waybar