os/+arch (polybar): add run.sh
This commit is contained in:
parent
5a44095bd3
commit
12227e5e0c
6
os/+arch/.config/polybar/run.sh
Executable file
6
os/+arch/.config/polybar/run.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
killall -q polybar
|
||||||
|
while pgrep -x polybar >/dev/null; do sleep 1; done
|
||||||
|
|
||||||
|
polybar main >~/.config/polybar/polybar.log 2>&1 &
|
Loading…
Reference in a new issue