Skip to content

v4.8

Compare
Choose a tag to compare
@FedeDP FedeDP released this 22 Jan 15:46
· 52 commits to master since this release

Hi! Welcome to another release of Clight!
This release cycle greatly benefits from new Clightd goodies!
Moreover, it also showcases initial support for Pinephone, even if not perfect yet.
Be sure to follow #233 if you are interested (any help is appreciated though, because i do not own the device).

Improvements

Pinephone

  • Allow upower module even if LidIsPresent is false
  • Properly call systemd logind .SetIdleHint API on dimming/dpms
  • Manage systemd logind.IdleHint states when Clight dimmer is disabled
  • If DIMMER is disabled but we receive an IdleHint, do not touch backlight; just manage the new DIMMED state eventually pausing backlight and other modules. This in theory should allow Clight to manage backlight dimming caused by external source, eg: a DE power manager, when relying on external dimmer, just like its internal dimming
  • Always start DISPLAY module

Backlight

  • Ported to new Clightd Backlight2 api
  • on objectadded (ie: new monitors), properly set current backlight + current gamma temp on new monitor
  • Support for monitor hotplug thanks to new Clightd 5.5 (and ddcutil 1.2.0)
  • Dropped screen_sysname conf because with Backlight2 api it was indeed useless
  • Added a new conf option trans_fixed to set a fixed transition duration in milliseconds. This means that any backlight transition will last the same, like going from 0.9 to 0.2 will last exactly like going from 0.5 to 0.3.
    It allows a far smoother experience when enabled, IMO.

Dimmer

  • Added a new conf option array trans_fixed to set a fixed transition duration in milliseconds for dimmer enter or leave

Wizard

  • Port to backlight2

Daytime

  • Add support for sunrise and sunset events offsets, eg: sunrise event should be considered 10m before the real sunrise.

Generic

  • Finally allow to view usage, help and version messages while another instance is running
  • Show commit hash in Clight version
  • do not use strlen() just to check that string is not empty

Fixes

Interface

  • Fixed null ptr dereference in inhibit_parse_msg()
  • Actually set conf location when a new one is set through dbus API