polybar.sh (116B)
1 #!/bin/sh 2 3 pgrep -x polybar >> /dev/null && pkill -x polybar >> /dev/null 4 sleep 1 5 polybar mybar >> /dev/null 2>&1 &