aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian <florian.fl.fischer@fau.de>2015-07-15 14:26:46 +0200
committerFlorian <florian.fl.fischer@fau.de>2015-07-15 14:26:46 +0200
commit31cd9c96b84569c9f0e66f039d717e2f6a732640 (patch)
treecd6dc967c734630efafb34ed028a5f6a21594407
parent006cfb945ea1cf0725df0278509593aae046b32e (diff)
downloaddotfiles-31cd9c96b84569c9f0e66f039d717e2f6a732640.tar.gz
dotfiles-31cd9c96b84569c9f0e66f039d717e2f6a732640.zip
make conkyrc handle mutiple ethernet interfaces
-rw-r--r--i3/conkyrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/i3/conkyrc b/i3/conkyrc
index f37098a..96ac7fa 100644
--- a/i3/conkyrc
+++ b/i3/conkyrc
@@ -63,9 +63,14 @@ TEXT
{"name":"download", "color":"\#ffffff", "full_text": "⤋: ${downspeed wlp2s0}"},
${else} ${if_up enp0s20u2}
- {"name":"eth0", "color": "\#339966", "full_text": "IP: ${addr enp0s20u2} "},
+ {"name":"ethernet", "color": "\#339966", "full_text": "IP: ${addr enp0s20u2} "},
{"name":"download", "color":"\#ffffff", "full_text": "⤋: ${downspeed enp0s20u2}"},
+ ${else} ${if_up eth0}
+ {"name":"ethernet", "color": "\#339966", "full_text": "IP: ${addr eth0} "},
+ {"name":"download", "color":"\#ffffff", "full_text": "⤋: ${downspeed eth0}"},
+
+
${else}
{"name":"nonet", "full_text": "no connection" },
${endif}