Create run-polybar.sh

This commit is contained in:
ITmail-dk
2022-01-02 12:29:56 +01:00
parent c69896dea8
commit 512e7bb1aa

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
# Terminate already running bar instances
#killall -q polybar
pkill polybar
pkill polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch Polybar
polybar -r bspwmbar
echo "Polybar Starter..."