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