3 releases
Uses new Rust 2024
new 0.1.2 | Apr 21, 2025 |
---|---|
0.1.1 | Apr 21, 2025 |
0.1.0 | Apr 21, 2025 |
#299 in Filesystem
20KB
152 lines
akarui
A lightweight /sys/class/backlight/*
wrapper, to control the backlight of screens on linux systems
installation
cargo install akarui
usage
# the default device is the first device found
akarui get --device="intel_backlight" # returns the backlight percentage of the default/selected device
akarui set 100 # sets the backlight percentage of a device to 100
akarui list # lists all the available devices
akarui load # loads all the screen backlight levels from the config file
Dependencies
~1–12MB
~83K SLoC