Skip to content

Modules

Federico edited this page Jun 1, 2019 · 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 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
  • 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
Module Xorg Wayland TTY
BRIGHTNESS
DIMMER
GAMMA
DPMS

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

Clone this wiki locally