Add polybar launcher bash script

This commit is contained in:
Ferit Yiğit BALABAN 2022-01-13 22:12:48 +03:00
parent f7c4d9d11d
commit 82c6b48c54
2 changed files with 16 additions and 0 deletions

View File

@ -31,3 +31,10 @@ updates repositories kept in $HOME/sources by calling 'git pull' using subproces
dependencies: dependencies:
- [termcolor](https://pypi.org/project/termcolor) - [termcolor](https://pypi.org/project/termcolor)
### launch_polybar.sh
used by i3wm to launch polybar on occasions. ripped it off from arch wiki ;)
dependencies:
- [polybar](https://github.com/polybar/polybar)

9
launch_polybar.sh Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash
# Terminate already running bar instances
killall -q polybar
# If all your bars have ipc enabled, you can also use
# polybar-msg cmd quit
# Launch Polybar, using default config location ~/.config/polybar/config
polybar example 2>&1 | tee -a /tmp/polybar.log & disown