Files
dotfiles/polybar/polybar.sh
2017-11-22 12:59:57 +01:00

13 lines
293 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 &
echo "Bars launched..."