Files
dotfiles/.config/polybar/polybar.sh
Daniel Bauer 6675aa76ce polybar/i3
2018-09-14 12:14:13 +02:00

14 lines
346 B
Bash
Executable File

#!/bin/bash
killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch bar1 and bar2
polybar -c ~/.config/polybar/config example_left &
polybar -c ~/.config/polybar/config example_right &
polybar -c ~/.config/polybar/config example_laptop &
echo "Bars launched..."