rice/reset-polybar-i3

11 lines
198 B
Plaintext
Raw Permalink Normal View History

#!/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