This website requires JavaScript.
Explore
Help
Register
Sign in
l.behm
/
bumblebee-status
Watch
1
Star
1
Fork
You've already forked bumblebee-status
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
7adc1df088
bumblebee-status
/
themes
/
default.json
8 lines
81 B
JSON
Raw
Normal View
History
Unescape
Escape
[themes] Make individual items theme-able (a bit) Individual items in the bar can now be configured with a prefix and a suffix. It works like this: * If there is a specific module configuration in the theme configuration, use that (i.e. { "<modulename>": { "prefix: " a " } }) * Otherwise, if there is a configuration in the "default" section of the theme, use that * Otherwise, if the module object itself has a method called like the required attribute (prefix, suffix), use that * Otherwise, leave prefix/suffix empty ("")
2016-10-31 07:18:57 +01:00
{
[themes] Make it possible to merge themes to get "icon themes" Add code that allows themes to be merged (i.e. if certain elements are not present in a theme, another theme can be "overlaid" to add missing elements). Effectively, this is used to create the logical concept of an "icon theme", which is loaded after the main theme. So, the main theme can define colors, and the icon theme fills in any missing elements (practically, all the icons in the form of prefixes and suffixes). Icon sets are defined in a theme using the "icons" directive, which should be an array. see #17
2016-11-25 21:06:24 +01:00
"icons"
:
[
"ascii"
]
,
[themes] Make individual items theme-able (a bit) Individual items in the bar can now be configured with a prefix and a suffix. It works like this: * If there is a specific module configuration in the theme configuration, use that (i.e. { "<modulename>": { "prefix: " a " } }) * Otherwise, if there is a configuration in the "default" section of the theme, use that * Otherwise, if the module object itself has a method called like the required attribute (prefix, suffix), use that * Otherwise, leave prefix/suffix empty ("")
2016-10-31 07:18:57 +01:00
"defaults"
:
{
[all] Refactor module <-> output communication Modules now return "bumblebee.output.Widget" objects, so that they can actually define a list of items to be drawn in the bar.
2016-11-05 08:59:43 +01:00
"urgent"
:
true
,
"fg"
:
"#aabbcc"
[themes] Make individual items theme-able (a bit) Individual items in the bar can now be configured with a prefix and a suffix. It works like this: * If there is a specific module configuration in the theme configuration, use that (i.e. { "<modulename>": { "prefix: " a " } }) * Otherwise, if there is a configuration in the "default" section of the theme, use that * Otherwise, if the module object itself has a method called like the required attribute (prefix, suffix), use that * Otherwise, leave prefix/suffix empty ("")
2016-10-31 07:18:57 +01:00
}
}
Reference in a new issue
Copy permalink