diff options
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/polybar-launch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.local/bin/polybar-launch b/.local/bin/polybar-launch new file mode 100755 index 0000000..d425d48 --- /dev/null +++ b/.local/bin/polybar-launch @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +# Terminate already running bar instances +killall -q polybar + +echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log +polybar bar1 -r 2>&1 | tee -a /tmp/polybar1.log & disown +polybar bar2 -r 2>&1 | tee -a /tmp/polybar2.log & disown + +echo "Bars launched..." |