Files
dotfiles/profiles/laptop/.config/polybar/polybar.sh
2020-02-20 10:32:33 +01:00

13 lines
286 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 laptop &
polybar -c ~/.config/polybar/config laptop_extern &
echo "Bars launched..."