Releases: FedeDP/Clight
Releases · FedeDP/Clight
v1.3
v1.2
Quick release, mostly fixes!
- Fixed crash on start
- Added a systemd timer that will start systemd user service circa 5s later. This is needed to give time to any bus interface (in this case: org.freedesktop.PowerManagement) to be created created by DE and any backlight interface is switched on/off if needed by DE.
- Fixed auto-disabling of bus related module if their busname does not exist
- Fixed a bug in gamma init that prevented correct gamma temp for current daily state to be setted at startup
- Reworked settings file
v1.1
- BRIGHTNESS module will now properly account for suspended time
- Fixed a rare bug in gamma implementation that happened if laptop was suspended a day and resumed 1 or more days later
- Add timestamp to log
- Some fixed and improvements to dimmer module
- Log single capture mode too (.clight_capture.log)
- New default timeouts for dimmer and dpms
- Debug mode (--verbose) is now runtime enabled.
- Added support for dimmer smooth transitions (both entering dimmed state and leaving)
- Updated to latest clightd interface
- Added a inhibit module that will monitor org.freedesktop.PowerManagement.Inhibit.HasInhibitChanged and will block dimming screen if a powermanagement inhibit is set (eg: by chrome while watching a video)
- Lots of improvements in code
- As always, bugfixes
v1.0
New Clight release!
- Dropped libconfig optdep as certain options are only available through config file
- Better error handling with no "if (!quit)" all around the code
- User can now set different ambient_brightness->screen_backlight curves depending on ac state. This has invalidate 2 old config options: "batt_max_backlight_pct" and "lowest_backlight_level"
- Do not leave for EHOSTUNREACH errors from upower/geoclue; leave only for clightd ones
- Avoiding changing brightness if backlight interface is not active (same goes for dimmer module): it would be useless and a waste of energy. Webcam captures are avoided too. This happens if you have an external monitor.
- Fixed longstanding issue in clight.service unit that caused an infinite loop with new error handling (it was present before too but it was not noticeable
- Debian control file will now set proper dependency version (libsystemd >= 221 and clightd >= 1.3)
- Destroying modules while leaving clight in the opposite order they were started to avoid any issue
- Some other fixes and improvements
v0.14
v0.13
New Clight release.
- Default timeouts during events will now be 5 mins on AC and 10mins on Batt
- Gracefully removing match from sd_bus when disabling location/upower modules
- Fixed a bug in upower initialization
- moved dpms to clightd
- improved dpms support: now checking at every capture because some DE (i'm using kde) will disable dpms on AC but enable it on BATT.
v0.12
New release:
- Users can now create their own ambient_brightness->screen_backlight curve, by changing "brightness_regression_points" array variable in clight.conf file. These points will be fitted through gsl and new coeffiecients will be applied to compute corrent screen backlight given ambient brightness.
- Locations received by geoclue2 are now gracefully cached; this way, starting clight with no internet connection will not hang.
- Fixed a memleak caused by libpopt
- Fixed a couple of issues spotted by @runical
v0.11
Lots of improvements, new features and bugfixes:
- added an autostart desktop file that will execute systemctl --user start clight automatically for you. Enabling the user service or manually adding it to your DE autostart is not needed anymore.
- added a desktop file (with icon! Better icons are really welcome!) to take a fast calibration (clight -c)
- added an upower module: you can now set different timeouts between captures while on AC and on BATT. Moreover, you can set a maximum brightness (in percentage) to be setted while on BAT.
- lots of code improvements and polishing, and some small bug fixes. Code is now even more modularized and readable.
v0.10
Lots of improvements in clight, most notably:
- Added a sweet inter-modules dependency management system, it was a huge rework that brought many changes, some fixes and many many improvements (easiness in adding more modules)
- Improved systemd user unit
- Add some more config options to let clight be even more customizable
- Gracefully disable gamma support on non-X environments
- Better ambient brightness to screen backlight level fitting function
- Code is now even more modularized
- Fixed some bugs