4baf63f88c
Each widget can now return a state using the method "state()". This string is then used to look up a theme information which is used instead of the default or module theme, if found. see #23
22 lines
353 B
JSON
22 lines
353 B
JSON
{
|
|
"icons": [ "test" ],
|
|
"defaults": {
|
|
"prefix": "default-prefix",
|
|
"suffix": "default-suffix",
|
|
"fg": "#000000",
|
|
"bg": "#111111",
|
|
"separator": " * ",
|
|
"separator-block-width": 10,
|
|
"critical": {
|
|
"fg": "#ffffff",
|
|
"bg": "#010101"
|
|
}
|
|
},
|
|
"test-widget": {
|
|
"fg": "#ababab",
|
|
"bg": "#222222",
|
|
"critical": {
|
|
"fg": "#bababa"
|
|
}
|
|
}
|
|
}
|