diff options
| author | Florian <florian.fl.fischer@fau.de> | 2015-07-15 14:26:46 +0200 |
|---|---|---|
| committer | Florian <florian.fl.fischer@fau.de> | 2015-07-15 14:26:46 +0200 |
| commit | 31cd9c96b84569c9f0e66f039d717e2f6a732640 (patch) | |
| tree | cd6dc967c734630efafb34ed028a5f6a21594407 /i3 | |
| parent | 006cfb945ea1cf0725df0278509593aae046b32e (diff) | |
| download | dotfiles-31cd9c96b84569c9f0e66f039d717e2f6a732640.tar.gz dotfiles-31cd9c96b84569c9f0e66f039d717e2f6a732640.zip | |
make conkyrc handle mutiple ethernet interfaces
Diffstat (limited to 'i3')
| -rw-r--r-- | i3/conkyrc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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} |
