#!/bin/sh # Make sure we don't start up two instances at once pbar_id=`pgrep polybar` if [ ! -z $pbar_id ];then kill `pgrep $pbar_id` fi # Start up polybar now that none are running polybar cute