[modules] Add support for disk utilization

Add a new module "disk" that takes an optional parameter (the path) and
displays free & total disk space, along with the usage percentage.

Also, added Tunnel/VPN support to the themeing of the "net" module.
This commit is contained in:
Tobias Witek 2016-10-31 13:34:48 +01:00
parent b235ae88a4
commit bb6ca556c7
5 changed files with 59 additions and 14 deletions

View file

@ -32,6 +32,9 @@
"cpu": {
"prefix": "  "
},
"disk": {
"prefix": "  "
},
"nic": {
"states": {
"wireless-up": {
@ -45,6 +48,12 @@
},
"wired-down": {
"prefix": "  "
},
"tunnel-up": {
"prefix": "  "
},
"tunnel-down": {
"prefix": "  "
}
}
},