add more battery states
This commit is contained in:
@@ -81,7 +81,10 @@
|
||||
"format": "{:%I:%M %p}"
|
||||
},
|
||||
"battery": {
|
||||
"interval": 10,
|
||||
"interval": 2,
|
||||
"states": {
|
||||
"warning": 30
|
||||
},
|
||||
"format": "{icon}",
|
||||
"format-charging": "",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
|
||||
|
||||
@@ -158,7 +158,11 @@ button {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
#battery.plugged {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
#battery.warning {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user