diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-07-29 23:51:37 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-07-29 23:51:37 +0100 |
commit | a1f1d81abd757322ebeb6b6cbfb150ea00eb04af (patch) | |
tree | a9ab42e12a2fb3afff84daa985a75c80720ce327 /polybar/launch.sh | |
parent | e09dbe56f95c7ba995cef7fad4b80b0495da0409 (diff) | |
download | dotfiles-a1f1d81abd757322ebeb6b6cbfb150ea00eb04af.tar.gz dotfiles-a1f1d81abd757322ebeb6b6cbfb150ea00eb04af.zip |
Adding polybar configuration to i3
Diffstat (limited to 'polybar/launch.sh')
-rwxr-xr-x | polybar/launch.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/polybar/launch.sh b/polybar/launch.sh new file mode 100755 index 0000000..98428f8 --- /dev/null +++ b/polybar/launch.sh @@ -0,0 +1,11 @@ +#!/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 & + +echo "Bars launched..." |