lightctl

Crates.iolightctl
lib.rslightctl
version0.1.0
sourcesrc
created_at2022-01-22 14:52:22.335977
updated_at2022-01-22 14:52:22.335977
descriptionA backlight control utility that does smooth transitions
homepagehttps://sr.ht/~whynothugo/lightctl/
repositoryhttps://git.sr.ht/~whynothugo/lightctl
max_upload_size
id519178
size34,529
Hugo (WhyNotHugo)

documentation

README

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.

Commit count: 0

cargo fmt