Some minor polybar tweaks
[~bandali/configs] / polybar / .local / bin / polybar-launch
CommitLineData
e6566456
AB
1#!/usr/bin/env sh
2
3# Terminate already running bar instances
4killall -q polybar
5
6# Wait until the processes have been shut down
7while pgrep -x polybar >/dev/null; do sleep 1; done
8
9# Launch main bar
3e303e20 10polybar main &
e6566456
AB
11
12echo "Bars launched..."