Files
dotfiles/profiles/laptop/.config/polybar/polybar.sh
2020-03-13 11:30:10 +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..."