Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Tech-Matt/bright-rs

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bright-rs

A simple backlight controller for intel_backlight in Rust. This code makes use of DBus system bus in Linux. Through the bus a user can make some calls like SetBrightness which bypass the requirenent of root access, and thus modify the brightness. The code can then be used from a HotKey Daemon Like sxhkd to bind the command to keyboard shortcuts (a setup guide is provided below).

Command line options

The script provides 3 basic commands:

  • brightrs -i [VAL] increases the screen brightness by 5%;
  • brightrs -d [VAL] decreases screen brightness by 5%;
  • brightrs -s [VAL] set a specific value in the possible range.

HotKey Deamon Setup

About

A backlight controller for Linux written in Rust

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.