bumblebee-status/bumblebee_status/core
tobi-wan-kenobi 4b6b4b9052 [core] add custom minimizer capability
Add a new set of parameters to allow modules to be customly minimized.

It works like this: If a module has the parameter "minimize" set to a
true value, it will *not* use the built-in minimizer, and instead look
for "minimized" parameters (e.g. if date has the "format" parameter, it
would look for "minimized.format" when in minimized state). This allows
the user to have different parametrization for different states.

Also, using the "start-minimized" parameter allows for modules to start
minimized.

Note: This is hinging off the *module*, not the *widget* (the current,
hard-coded hiding is per-widget). This means that modules using this
method will only show a single widget - the first one - when in
minimized state. The module author has to account for that.

see #791
2021-05-24 12:56:02 +02:00
..
__init__.py [core] restructure to allow PIP packaging 2020-05-09 21:22:00 +02:00
config.py Add parameter to specify a configuration file 2021-02-20 13:50:31 +01:00
decorators.py [core/decorators] add docstrings 2020-05-16 15:28:15 +02:00
event.py [core] make bumblebee more reactive 2021-03-13 14:10:30 +01:00
input.py [core/input] add pseudo-event "update" to selectively update modules 2021-04-28 12:41:04 +02:00
module.py [core] add custom minimizer capability 2021-05-24 12:56:02 +02:00
output.py [core] add custom minimizer capability 2021-05-24 12:56:02 +02:00
theme.py [core/theme] add /usr/share as theme directory 2020-12-20 10:23:06 +01:00
widget.py [modules] add a module "keys" that shows whether a key is pressed 2021-03-13 13:17:20 +01:00