Created
April 16, 2019 04:33
-
-
Save jmcblane/5b656b632c910ead12f82c8181942dfe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Terminate already running bar instances | |
killall -q polybar | |
# Wait until the processes have been shut down | |
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done | |
# Launch Polybar, using default config location ~/.config/polybar/config | |
polybar -r onebar & | |
echo "Polybar launched..." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment