Skip to content

v4.2

Compare
Choose a tag to compare
@FedeDP FedeDP released this 22 Dec 20:53
· 154 commits to master since this release

Hi! I am very proud to announce Clight 4.2 release;
It comes with lots of goodies; bugfixes and some new features.
Let's dive into the changes!

Backlight

  • Added an option to fire a calibration whenever lid gets opened
  • Actually plot AC/BATT curves for backlight, in wizard mode too (this is just for fun anyway!)
  • Fix timeout set on daytime_upd
  • Hook to new Clightd Backlight.Changed signal and emit each step BL_UPD for smooth transitions

Screen

  • Enable it on tty and wayland too

Dpms

  • Hook to new Clightd 5.0 Dpms.Changed signal to react to external (through clightd) dpms state changes
  • Enable it on wayland too

Gamma

  • Enable it on tty and wayland too
  • Hook to new Clightd 5.0 Gamma.Changed signal and emit each step TEMP_UPD for smooth transitions

Keyboard

  • Fixed keyboard backlight setting

Inhibition

  • Fix inhibiton counter going crazy if lots of inhibit requests are quickly sent to clight

Location

  • Avoid geoclue continuously spamming clight new locations

Wizard

  • Fixed wizard mode to actually work

Generic

  • Fixed Clight desktop file (thanks Sonico98!)
  • Fixed Clightd dbus-activation when firstly called by Clight
  • Added a dbus hook on systemd-logind PrepareForSleep signal that will pause any feature module. This fixes some issues with clight being too quick to resume from suspend, leading to GAMMA/SCREEN errors as X server was still not resumed.
  • Added a resumedelay conf option to let clight wait N seconds before resuming modules on system resume from sleep (useful in case above error is still present)
  • Expose a "Pause" dbus API to pause clight as if system was suspended
  • Fixed some longstanding bugs with negative timeouts in reset_timer()
  • Actually check that timerfd_gettime() succeed before using its value
  • Fix wrong timeout set on resume after a long night
  • Added a zsh completion script (thanks NICHOLAS85!)

As always, many thanks to users who contributed either with some PR or simply through issues, discussions or just some kind words for Clight;
I cannot express how much this encourages me going on with the development :)
Thank you very much everyone!

Clight does now require Clightd 5.0!
As always, wiki pages were updated to reflect the changes.

Finally, we are moving away from this weird 2020; let's hope for a brighter future!
Merry xmas everyone!