dotfiles/.config/polybar/launch.sh

15 lines
343 B
Bash
Raw Normal View History

2020-07-04 22:48:06 +00:00
#!/usr/bin/env sh
config_file =
echo "test"
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch polybar
polybar -rq top_bar -c $HOME/.config/polybar/test1 &
polybar -rq bottom_bar -c $HOME/.config/polybar/test1 &