rice/reset-polybar-i3
2022-01-19 15:18:13 -08:00

11 lines
198 B
Bash
Executable File

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