7 lines
176 B
Bash
7 lines
176 B
Bash
|
#!/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...'
|