Edit 'dbar' and 'refbar' scripts
This commit is contained in:
parent
792c3f21a7
commit
b2fe3ec8da
@ -4,6 +4,8 @@ sym="|"
|
|||||||
# [ "$(transmission-remote -l | grep %)" ] && delay="10s" || delay="1m"
|
# [ "$(transmission-remote -l | grep %)" ] && delay="10s" || delay="1m"
|
||||||
delay="1m"
|
delay="1m"
|
||||||
|
|
||||||
|
echo "$$" > "$HOME/.cache/dbar.pid"
|
||||||
|
|
||||||
cd "$HOME/.local/bin/scripts/dwmbar/" || exit 1
|
cd "$HOME/.local/bin/scripts/dwmbar/" || exit 1
|
||||||
|
|
||||||
status() {
|
status() {
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
pkill -SIGTRAP dbar
|
[ ! "$(pgrep dbar)" ] && { dbar & exit; }
|
||||||
[ ! "$(pgrep dbar)" ] && dbar &
|
|
||||||
|
pkill -P "$(cat "$HOME/.cache/dbar.pid")" sleep
|
||||||
|
Loading…
x
Reference in New Issue
Block a user