diff --git a/README.md b/README.md index b1ffe8f..2a41628 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/launch_polybar.sh b/launch_polybar.sh new file mode 100644 index 0000000..7447395 --- /dev/null +++ b/launch_polybar.sh @@ -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