Files
dotfiles/i3/.config/i3/polybar.sh
2019-01-17 20:22:00 -05:00

11 lines
215 B
Bash
Executable File

#!/usr/bin/env bash
# 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 main &