|
NAMEwaybar - states property OVERVIEWSome modules support 'states' which allows percentage values to be used as styling triggers to apply a class when the value matches the declared state value. STATESEvery entry (state) consists of a <name> (typeof: string) and a <value> (typeof: integer).
EXAMPLE"battery": {
"bat": "BAT2",
"interval": 60,
"states": {
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-icons": ["", "", "", "", ""],
"max-length": 25
}
STYLING STATES
EXAMPLE:
|