diff options
Diffstat (limited to 'polybar/.local/bin/launch-polybar')
-rwxr-xr-x | polybar/.local/bin/launch-polybar | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/polybar/.local/bin/launch-polybar b/polybar/.local/bin/launch-polybar new file mode 100755 index 0000000..49d56ca --- /dev/null +++ b/polybar/.local/bin/launch-polybar @@ -0,0 +1,12 @@ +#!/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 main bar +polybar example & + +echo "Bars launched..." |