2017-04-29 11:37:39 -07:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2017-05-10 11:57:21 -07:00
|
|
|
if pgrep polybar; then
|
|
|
|
killall -q polybar
|
|
|
|
while pgrep -x polybar >/dev/null; do sleep 1; done
|
|
|
|
fi
|
2017-04-29 11:37:39 -07:00
|
|
|
|
2017-05-10 11:57:21 -07:00
|
|
|
polybar main >>~/.config/polybar/polybar.log 2>&1 &
|