Skip to content

Modules

Federico edited this page Sep 9, 2018 · 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.

Default Enabled Modules

By default Clight enables all its functions, fallbacking to disable them when they are not supported. This means that these features are all enabled with default values:

  • BRIGHTNESS: to make webcam captures and change screen backlight level to match ambient brightness
  • GAMMA: to change screen temperature based on current time of day (X only)
  • DIMMER: to dim screen after a certain idle time (X only)
  • DPMS: to switch off screen after a certain idle time (X only)

All these features can be turned off through cmdline and config file options.

Clone this wiki locally