diff options
Diffstat (limited to '.config/i3/polybar.sh')
| -rw-r--r-- | .config/i3/polybar.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/i3/polybar.sh b/.config/i3/polybar.sh new file mode 100644 index 0000000..22d2fbc --- /dev/null +++ b/.config/i3/polybar.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env sh + +# Terminate already running bar instances +killall -q polybar + +# Wait until the processes have been shut down +while pgrep -x polybar >/dev/null; do sleep 1; done + +# Launch polybar +polybar & |
