Skip to content
/ twbl Public

Simple program to control screen brightness on openSUSE Tumbleweed

Notifications You must be signed in to change notification settings

Dzejrou/twbl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Tumbleweed Backlight

Had some trouble getting xbacklight to work on openSUSE Tumbleweed, so I wrote this simple program that should work around it. Requires root, a workaround can be found at stackoverflow.

The value of the fname variable might need to be changed to the correct path to your backlight brightness file.

Compilation:

g++ -std=c++11 twbl.cpp

Usage (i3 config):

bindsym XF86MonBrightnessUp exec sudo /home/dzejrou/bin/twbl +100 # increase screen brightness
bindsym XF86MonBrightnessDown exec sudo /home/dzejrou/bin/twbl -100 # decrease screen brightness

About

Simple program to control screen brightness on openSUSE Tumbleweed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages