Restore 'torrent' module to 'dbar' script
This commit is contained in:
parent
1ddf882e21
commit
b7804d5245
@ -1,8 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
sym="|"
|
sym="|"
|
||||||
# [ "$(transmission-remote -l | grep %)" ] && delay="10s" || delay="1m"
|
[ "$(transmission-remote -l 2>/dev/null | grep %)" ] &&
|
||||||
delay="1m"
|
delay="10s" || delay="1m"
|
||||||
|
|
||||||
echo "$$" > "$HOME/.cache/dbar.pid"
|
echo "$$" > "$HOME/.cache/dbar.pid"
|
||||||
|
|
||||||
@ -10,6 +10,7 @@ cd "$HOME/.local/bin/scripts/dwmbar/" || exit 1
|
|||||||
|
|
||||||
status() {
|
status() {
|
||||||
cat << EOF
|
cat << EOF
|
||||||
|
$(./torrent) $sym
|
||||||
$(./disk) $sym
|
$(./disk) $sym
|
||||||
$(./internet) $sym
|
$(./internet) $sym
|
||||||
$(./lamp) $sym
|
$(./lamp) $sym
|
||||||
|
Loading…
x
Reference in New Issue
Block a user