dotfiles/.config/i3/scripts/polybar.sh
2022-12-09 23:36:27 -08:00

11 lines
237 B
Bash
Executable File

#!/usr/bin/env 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 ~/.config/polybar/dracula &