This commit is contained in:
ITmail-dk
2022-01-05 16:57:55 +01:00
parent a2756a3ce5
commit 58dfb81510
4 changed files with 500 additions and 6 deletions

View File

@@ -5,9 +5,11 @@
pkill polybar
pkill polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 2; done
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch Polybar
polybar -r bspwmbar
# Run Polybar
polybar -r bspwmbar &
echo "Polybar Starter..."
if [[ $(xrandr -q | grep 'HDMI1 connected') ]]; then
polybar external -c $(dirname $0)/config-external &
fi