v3.0
I'm very proud to present you Clight 3.0.
First of all, let me warmly thank some contributors for their great support; alphabetic order:
- @danyspin97 -> Patches towards Elogind support for Clight
- @Dr-Ongo -> Great support while debugging a weird issue with ddcutil
- @jghauser -> Great support while debugging a weird issue with ddcutil
- @rockowitz -> ddcutil developer that actually fixed aforementioned issue
- @VorpalBlade -> Patches towards Cmake support for Clight
What's new in this release?
Features
Generic
- Adapted Clight to new Clightd API (3.0 required)
- Consequently, Clight gained support for ALS devices too
- Added support for Keyboard backlight calibration (ie: turn it automatically on on low ambient brightness). This needs UPower
- Backlight module will now gracefully listen on org.clightd.clightd.Sensor.Changed signal: this means that you can start clight with no webcam attached, but as soon as you attach an usb webcam, Backlight will immediately start capturing
- Ported build system to cmake
- Ported CI to sr.ht
Desktop file
- Desktop file has now 2 more options: "Inhibit dimmer" and "Unhinibit dimmer"
New Options
- Added a NoAutoCalibration mode for clight: it will start with both gamma and backlight "paused", thus you can only use them through bus api
- Added a shutterthreshold option: you can set it to a double > 0.0 to let Clight consider "shuttered", thus discarding them, captures whose ambient brightness is lower than that value. This is useful if you like to leave your webcam covered.
New Bus Api
Completely redesigned and renewed Bus Api:
- Expose all timeouts through a "/org/clight/clight/Conf/Timeouts" interface
- Added bus methods to change backlight interface and video sysname
- Expose all conf structure through interface in org/clight/clight/Conf
- Added a "/org/clight/clight/Conf/Store" method that dumps current config to user conf
- Expose each module state in /org/clight/clight/Modules
Fixes
- Dropped systemd user service
- Avoid requiring both --sunrise and --sunset options
- Avoid leaving clight if --sunrise or --sunset are wrongly setted, start gamma and location instead
- Dimmer will now set backlight_level to 100% if brightness module is disabled (to start from a well known level)
- Fixed gamma module for suspended systems
And surely much more I forgot :)
Thanks everyone, enjoy this new release!