~whynothugo/lightctl

A backlight control utility that does smooth transitions

7b45fb0 Dedupe and tidy up error handling

3 months ago

e476d0d Replace dbus create with zbus

3 months ago

#lightctl

Lightctl is (yet another) tool to control display backlight. Unlike every other tool I've found, it actually does "smooth" adjustments, rather than instantaneous ones. That is, the light_intensity over time curve is a continuous one.

#Status

This is still under development and possible has subtle bugs. So far, this project has served more for my own experimentation than anything else. You're free to use it though, it does work.

Please report any bugs in the issue tracker.

#Notes

Generated D-Bus proxy was done using:

dbus-codegen-rust \
  --client nonblock \
  --destination org.freedesktop.login1 \
  --interfaces org.freedesktop.login1.Session \
  --path /org/freedesktop/login1/session/auto \
  --system-bus \
  --output src/generated.rs

#Licence

lightctl is licensed under the ISC licence. See LICENCE for more details.