feat: battery states && format-full/charging

This commit is contained in:
Alexis
2018-11-02 11:23:29 +01:00
parent 9d4048983d
commit 9b201c77d7
3 changed files with 71 additions and 25 deletions

View File

@ -43,9 +43,14 @@
"format": "{}% "
},
"battery": {
// "warning": 30, // Default value: 30
// "critical": 15, // Default value: 15
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
// "format-good": "", // An empty format will hide the module
"format-full": "",
"format-icons": ["", "", "", "", ""]
},
"battery#bat2": {