polybar-werefox-theme/launch.sh
2020-05-07 11:58:41 -05:00

12 lines
292 B
Bash
Executable file

#!/usr/bin/env bash
HARDCODE_USER=shadow8t4
# Terminate already running bar instances
killall polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch polybar
polybar main -c /home/$HARDCODE_USER/.config/polybar/config &