diff options
author | Yann Herklotz <git@yannherklotz.com> | 2022-11-19 15:21:44 +0000 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2022-11-19 15:21:44 +0000 |
commit | 2ece7032558cd0be673d65237a01c5e6ffe625f1 (patch) | |
tree | bc88a1eecb4f70e212bf8c2a5e3755120a05d856 /polybar/.config/polybar/launch.sh | |
parent | d9028e12d857d1fdb68b507bfa8dffbd64b7b2f7 (diff) | |
download | dotfiles-2ece7032558cd0be673d65237a01c5e6ffe625f1.tar.gz dotfiles-2ece7032558cd0be673d65237a01c5e6ffe625f1.zip |
Move to a GNU Stow config
Diffstat (limited to 'polybar/.config/polybar/launch.sh')
-rwxr-xr-x | polybar/.config/polybar/launch.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/polybar/.config/polybar/launch.sh b/polybar/.config/polybar/launch.sh new file mode 100755 index 0000000..1ab828a --- /dev/null +++ b/polybar/.config/polybar/launch.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +# 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 + +polybar main & +polybar second & +polybar third & + +echo "Bars launched..." |