FedeDP/Clight
FreeA C daemon that turns your webcam into a light sensor. It will adjust screen backlight based on ambient brightness.
About FedeDP/Clight
Clight is a C user daemon utility that manages display brightness and color temperature by using a webcam or Ambient Light Sensor (ALS) to measure ambient light. It automatically adjusts screen backlight, supports external monitors and keyboard backlight, and can manage screen temperature (similar to redshift). Additional features include screen dimming after a configurable timeout and DPMS management. Clight works on X11, Wayland, and TTY, and all features can be toggled via its config file. It exposes a DBus API for integration and scripting, and supports user-built custom modules. The project is open-source under GPL-3.0, with a community-developed Qt GUI available. Clight relies on Clightd, a system DBus service, and libmodule for modularity.
Key Features
Pros & Cons
- Free and open-source under GPL-3.0, with full source code available on GitHub
- Comprehensive display management: brightness, temperature, dimming, and DPMS in one daemon
- Works across multiple display systems: X11, Wayland, and TTY
- Highly configurable via configuration file and DBus API
- Supports both internal laptop displays and external monitors/keyboards
- Active community with regular releases (v4.11, March 2024) and available Qt GUI
- Requires a webcam or Ambient Light Sensor for ambient brightness measurement
- Wayland support depends on compositor implementing specific protocols
- Not a typical AI tool—it is a system utility with limited AI-related functionality beyond basic sensor input
- Setup may require manual configuration for non-standard hardware or environments