Created
May 25, 2022 14:31
-
-
Save gear/6a7a898e813012402e444d7aa45ef1ff to your computer and use it in GitHub Desktop.
polybar launch
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # Terminate already running bar instances | |
| # If all your bars have ipc enabled, you can use | |
| polybar-msg cmd quit | |
| # Otherwise you can use the nuclear option: | |
| # killall -q polybar | |
| # Launch plbar | |
| echo "---" | tee -a /tmp/polybar.log | |
| polybar plbar 2>&1 | tee -a /tmp/polybar.log & disown | |
| echo "Polybar launched..." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment