#backlight #brightness #desktop

app lightctl

A backlight control utility that does smooth transitions

1 unstable release

0.1.0 Jan 22, 2022

#15 in #backlight

23 downloads per month

ISC license

26KB
502 lines

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 has silly bugs due to rounding issues. So far, this project has served more for my own experimentation than anything else. You're free to use it though, it does work.

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.

Dependencies

~9MB
~187K SLoC