#!/bin/sh killall -q polybar while pgrep -x polybar >/dev/null; do sleep 1; done polybar my_bar &