diff options
author | Karel Kočí <cynerd@email.cz> | 2017-03-01 11:18:41 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-03-01 11:18:41 +0100 |
commit | 2a3fa9be146cf365898d5a1bde61c7a6e4752d41 (patch) | |
tree | 5c9b766d6ac4eefa40a4ee3d1fa60b3166061ef9 | |
parent | 0b7760fd7cf2dafb33208a9a834282a4dc7ce0dd (diff) | |
download | myconfigs-2a3fa9be146cf365898d5a1bde61c7a6e4752d41.tar.gz myconfigs-2a3fa9be146cf365898d5a1bde61c7a6e4752d41.tar.bz2 myconfigs-2a3fa9be146cf365898d5a1bde61c7a6e4752d41.zip |
Bandwith don't print down it is already printed by ifnet
-rwxr-xr-x | config/i3blocks/bandwidth | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/config/i3blocks/bandwidth b/config/i3blocks/bandwidth index 97b2018..cfefaf2 100755 --- a/config/i3blocks/bandwidth +++ b/config/i3blocks/bandwidth @@ -21,9 +21,6 @@ INTERFACE=$(ip route | awk '/^default .* (wlp|enp)/ { print $5 ; exit }') # Issue #36 compliant. if ! [ -e "/sys/class/net/${INTERFACE}/operstate" ] || ! [ "`cat /sys/class/net/${INTERFACE}/operstate`" = "up" ] then - echo "$INTERFACE down" - echo "$INTERFACE down" - echo "#FF0000" exit 0 fi |