Add reload option (-r
) to 'refbar' script
This commit is contained in:
parent
b2fe3ec8da
commit
229fe03b3e
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ "$1" = "-r" ] && pkill dbar && { dbar & exit; }
|
||||
|
||||
[ ! "$(pgrep dbar)" ] && { dbar & exit; }
|
||||
|
||||
pkill -P "$(cat "$HOME/.cache/dbar.pid")" sleep
|
||||
|
Loading…
x
Reference in New Issue
Block a user