[modules/traffic] Minor refactoring

* use psutil instead of "ifconfig" in order to avoid external command
calls
* fix a small bug in the ascii theme (missing colon)
* show statistics per-nic
This commit is contained in:
Tobias Witek 2017-04-22 08:11:55 +02:00
parent 16359c883b
commit 430c9f5e93
3 changed files with 50 additions and 52 deletions

View file

@ -80,7 +80,7 @@
"prefix": "🌡"
},
"traffic":{
"down": { "prefix": "" },
"up": { "prefix": "" }
"rx": { "prefix": "" },
"tx": { "prefix": "" }
}
}