Files
dotfiles/.config/polybar/launch.sh
2020-04-23 14:50:36 +02:00

13 lines
267 B
Bash
Executable File

#!/bin/sh
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -x polybar >/dev/null; do sleep 1; done
# Launch Polybar
polybar -c "$HOME/.config/polybar/config" main &
echo "Polybar launched..."