helm/themes/pianocat/polybar/run.sh

7 lines
176 B
Bash
Raw Normal View History

2019-08-06 11:29:33 -07:00
#!/usr/bin/env bash
killall -q polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
polybar main >>$XDG_DATA_HOME/polybar.log 2>&1 &
echo 'Polybar launched...'