Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env sh
- # 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 bar
- polybar future &
- echo "Bar launched"
Add Comment
Please, Sign In to add comment