bumblebee-status/bumblebee_status/modules
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
..
contrib [modules/sensors] do not truncate temperature 2021-05-11 11:23:06 +02:00
core [core] add custom minimizer capability 2021-05-24 12:56:02 +02:00
__init__.py [core] restructure to allow PIP packaging 2020-05-09 21:22:00 +02:00