1 个不稳定版本
0.1.0 | 2022年1月22日 |
---|
#15 in #背光
26KB
502 行
lightctl
Lightctl 是(又一个)用于控制显示背光的工具。与我所找到的其他工具不同,它实际上可以进行“平滑”调整,而不是瞬间的调整。也就是说,光强度随时间变化的曲线是连续的。
状态
这仍在开发中,由于舍入问题存在一些愚蠢的bug。到目前为止,这个项目更多的是为了我自己实验,而不是其他任何事情。不过,你可以自由使用它,它确实可以工作。
注意
使用以下方式生成了D-Bus代理
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
许可证
lightctl 根据ISC许可证授权。有关详细信息,请参阅LICENCE。
依赖项
~9MB
~189K SLoC