#!/bin/bash # Terminate already running bar instances killall -q polybar # Launch bar echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log polybar bar --config /home/mg/dotfiles/polybar/config 2>&1 | tee -a /tmp/polybar.log & disown echo "Bars launched..."