| waybar-states(5) | File Formats Manual | waybar-states(5) |
waybar - states property
Some 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.
Every entry (state) consists of a <name> (typeof: string) and a <value> (typeof: integer).
"battery": {
"bat": "BAT2",
"interval": 60,
"states": {
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-icons": ["", "", "", "", ""],
"max-length": 25
}
| 2024-04-01 |