Files
dotfiles/polybar/polybar.sh
2018-09-04 14:39:42 +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..."