bumblebee-status/bumblebee_status
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
..
core [core] add custom minimizer capability 2021-05-24 12:56:02 +02:00
modules [core] add custom minimizer capability 2021-05-24 12:56:02 +02:00
util [core/theme] add xresources support 2020-12-07 09:01:08 +01:00
__init__.py [tests] Fix failing tests 2020-05-10 12:56:30 +02:00
_version.py [all] black code :) 2020-05-09 21:24:28 +02:00
discover.py [doc] update API docs 2020-05-10 13:25:13 +02:00