aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-03-01 11:18:41 +0100
committerKarel Kočí <cynerd@email.cz>2017-03-01 11:18:41 +0100
commit2a3fa9be146cf365898d5a1bde61c7a6e4752d41 (patch)
tree5c9b766d6ac4eefa40a4ee3d1fa60b3166061ef9 /config
parent0b7760fd7cf2dafb33208a9a834282a4dc7ce0dd (diff)
downloadmyconfigs-2a3fa9be146cf365898d5a1bde61c7a6e4752d41.tar.gz
myconfigs-2a3fa9be146cf365898d5a1bde61c7a6e4752d41.tar.bz2
myconfigs-2a3fa9be146cf365898d5a1bde61c7a6e4752d41.zip
Bandwith don't print down it is already printed by ifnet
Diffstat (limited to 'config')
-rwxr-xr-xconfig/i3blocks/bandwidth3
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