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