diff options
author | Karel Kočí <cynerd@email.cz> | 2017-03-01 23:39:38 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-03-01 23:39:38 +0100 |
commit | 4c1309e4aed61be74e14cfd05ffd12301ab0473a (patch) | |
tree | 4eb12d8b5af5521112e8e80689df28d7a93b580a /config/i3blocks/scripts/iface | |
parent | f6ddf4d2ad7dbefbe45ee35c418aec42be33211d (diff) | |
download | myconfigs-4c1309e4aed61be74e14cfd05ffd12301ab0473a.tar.gz myconfigs-4c1309e4aed61be74e14cfd05ffd12301ab0473a.tar.bz2 myconfigs-4c1309e4aed61be74e14cfd05ffd12301ab0473a.zip |
Move down message from ifnet to bandwidth
I have bandwidth after iface, if there is down message from ifnet
separator from bandwidth would disappear so we would have no separator.
With this it stays.
Diffstat (limited to 'config/i3blocks/scripts/iface')
-rwxr-xr-x | config/i3blocks/scripts/iface | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/config/i3blocks/scripts/iface b/config/i3blocks/scripts/iface index a0a1946..134d66b 100755 --- a/config/i3blocks/scripts/iface +++ b/config/i3blocks/scripts/iface @@ -32,9 +32,6 @@ IF=$(ip route | awk '/^default .* (wlp|enp)/ { print $5 ; exit }') # If no IF is selected then we want see down, not anything else. if [ -z "$IF" ] || [[ "$(cat /sys/class/net/$IF/operstate)" = 'down' ]]; then - echo down # full text - echo down # short text - echo \#FF0000 # color exit fi |