aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/waybar_launch
blob: 6fc920005bb7d074d84daad4a7ceec88d47a5eef (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# Terminate already running bar instance
killall -q waybar

# Wait until the processes have been shut down
while pgrep -u $UID -x waybar >/dev/null; do sleep 1; done

waybar