summaryrefslogtreecommitdiff
path: root/.local/bin/polybar-launch
blob: b72556da06daf2d8983ff1057a0e53b5a28ce497 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# 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 & 
polybar bar2 -r 2>&1 | tee -a /tmp/polybar2.log & 

echo "Bars launched..."