bumblebee-status/bumblebee_status/modules/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
cpu.py [modules/core/cpu] optionally add per-cpu widget 2021-04-27 17:17:13 +02:00
date.py [core] restructure to allow PIP packaging 2020-05-09 21:22:00 +02:00
datetime.py [core] add custom minimizer capability 2021-05-24 12:56:02 +02:00
debug.py [core] restructure to allow PIP packaging 2020-05-09 21:22:00 +02:00
disk.py Add TiB to disk units, add SI unit option for disk space 2020-12-02 19:08:45 +01:00
error.py [core] restructure to allow PIP packaging 2020-05-09 21:22:00 +02:00
git.py [all] black code :) 2020-05-09 21:24:28 +02:00
keys.py [modules/keys] add missing modules 2021-03-13 14:04:42 +01:00
layout-xkb.py Fix wrong usage of asbool in layout-xkb 2020-08-06 14:49:41 +02:00
layout.py [modules/layout] add a new - generic - layout module 2021-05-16 21:09:58 +02:00
layout_xkb.py Create symbolic links 2020-10-01 19:10:46 -03:00
load.py Add load module tests 2020-09-02 14:33:07 -03:00
memory.py Reduce code cognitive complexity 2020-08-30 12:37:58 -03:00
nic.py [modules/nic] Make regex for SSID a raw string 2020-12-01 15:58:55 +01:00
pasink.py [core] restructure to allow PIP packaging 2020-05-09 21:22:00 +02:00
pasource.py [core] restructure to allow PIP packaging 2020-05-09 21:22:00 +02:00
ping.py [modules] add speed test module 2020-06-25 20:34:35 +02:00
pulseaudio.py [core] restructure to allow PIP packaging 2020-05-09 21:22:00 +02:00
redshift.py Fix Python 3.9 compatibility 2020-10-14 18:07:29 +02:00
sensors2.py [core] restructure to allow PIP packaging 2020-05-09 21:22:00 +02:00
spacer.py [core] restructure to allow PIP packaging 2020-05-09 21:22:00 +02:00
speedtest.py [modules/speedtest] no autostart, improve icons 2020-06-26 09:40:35 +02:00
test.py [core] restructure to allow PIP packaging 2020-05-09 21:22:00 +02:00
time.py [modules/time] update once per second 2021-01-17 15:35:39 +01:00
vault.py [vault] Turns out, <Leave> is triggered when going into a submenu 2020-07-25 12:38:28 -07:00
xrandr.py [xrandr] Add autotoggle behavior to xrandr 2020-07-26 13:21:49 -07:00