8 lines
153 B
Bash
Executable File
8 lines
153 B
Bash
Executable File
#!/bin/sh
|
|
|
|
[ "$1" = "-r" ] && pkill dbar && { dbar & exit; }
|
|
|
|
[ ! "$(pgrep dbar)" ] && { dbar & exit; }
|
|
|
|
pkill -P "$(cat "$HOME/.cache/dbar.pid")" sleep
|