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