9d56d3e272
Also add simple description comment to all script.
10 lines
173 B
Bash
Executable File
10 lines
173 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Refresh dwm bar.
|
|
|
|
[ "$1" = "-r" ] && pkill dbar && { dbar & exit; }
|
|
|
|
[ ! "$(pgrep dbar)" ] && { dbar & exit; }
|
|
|
|
pkill -P "$(cat "$HOME/.cache/dbar.pid")" sleep
|