Add polybar launcher bash script
This commit is contained in:
parent
f7c4d9d11d
commit
82c6b48c54
@ -31,3 +31,10 @@ updates repositories kept in $HOME/sources by calling 'git pull' using subproces
|
||||
|
||||
dependencies:
|
||||
- [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
9
launch_polybar.sh
Normal 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
|
Loading…
x
Reference in New Issue
Block a user