#!/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..."