-
Notifications
You must be signed in to change notification settings - Fork 27
Modules
Federico edited this page Apr 29, 2020
·
11 revisions
Every functionality in clight is achieved through a "module". An inter-modules dependencies system has been created ad-hoc to ease development of such modules.
This way, it does not matter modules' init calls sorting; moreover, each module can be easily disabled if not needed/desired.
By default Clight enables all its functions, fallbacking to disable them where they are not supported. This means that these features are all enabled by default:
- BRIGHTNESS: to make webcam captures and change screen backlight level to match ambient brightness
- KEYBOARD: to manage keyboard backlight based on ambient brightess
- GAMMA: to change screen temperature based on current time of day
- DIMMER: to dim screen after a certain idle time
- DPMS: to switch off screen after a certain idle time
- SCREEN: to compute screen-emitted brightness and compensate for it. Enabled by default only on AC
Module | Xorg | Wayland | TTY |
---|---|---|---|
BRIGHTNESS | ✔ | ✔ | ✔ |
KEYBOARD | ✔ | ✔ | ✔ |
DIMMER | ✔ | ✔ | ✔ |
GAMMA | ✔ | ||
DPMS | ✔ | ✔ | |
SCREEN | ✔ |
All these features can be turned off through cmdline and config file options.