527489e0de
Allow a theme to define a "cycle" of attributes that are cycled through on a widget-per-widget basis (e.g. for alternating the widget background). These cycles take precedence over the default values, but can be overridden by module-specific theme instructions. see #23
18 lines
284 B
JSON
18 lines
284 B
JSON
{
|
|
"icons": [ "test" ],
|
|
"defaults": {
|
|
"prefix": "default-prefix",
|
|
"suffix": "default-suffix",
|
|
"fg": "#000000",
|
|
"bg": "#111111"
|
|
},
|
|
"cycle": [
|
|
{ "fg": "#aa0000" },
|
|
{ "fg": "#00aa00" },
|
|
{ "fg": "#0000aa" }
|
|
],
|
|
"test-widget": {
|
|
"fg": "#ababab",
|
|
"bg": "#222222"
|
|
}
|
|
}
|