Skip to content

Super simple udev backlight control, written in rust

License

Notifications You must be signed in to change notification settings

jmerdich/backctl-rs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backctl

A quick and simple backlight control using sysfs and udev

What this is

This is a super simple backlight control that adjusts the brightness value of a backlight for me in linux using sysfs. It enumerates all the "backlight" devices from udev and adjusts their backlight node accordingly.

Why?

I discovered that xbacklight didn't work on my new laptop. Rather than fixing the problem or using one of the many existing alternatives, I wrote this quick utility that adjusts the backlight from userspace (after the addition of a udev rule to set the backlight permissions accordingly). The utility is written in rust just for fun.

About

Super simple udev backlight control, written in rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%