2a35905b89
It is now possible to add a list of theme configurations in the "default" section called "cycle". These configuration items will be cycled through module by module. to create "alternate style" effects. This is *only* possible in the "default" configuration part, but any module-specific configurations still take precedence. Also, removed the capability of per-widget themes. That simply complicates things and probably doesn't really bring any benefits.
29 lines
327 B
JSON
29 lines
327 B
JSON
{
|
|
"defaults": {
|
|
"prefix": " ",
|
|
"suffix" : " ",
|
|
"cycle": [
|
|
{
|
|
"fg": "red"
|
|
},
|
|
{
|
|
"fg": "lime"
|
|
}
|
|
]
|
|
},
|
|
"battery": {
|
|
"prefix": "bat ",
|
|
"states": {
|
|
"charging": {
|
|
"suffix": "+ ",
|
|
"fg": "#00ff00"
|
|
},
|
|
"discharging": {
|
|
"suffix": "- ",
|
|
"fg": "#ff0000"
|
|
}
|
|
}
|
|
},
|
|
"time": {
|
|
}
|
|
}
|