Skip to content

Simple xbacklight wrapper written in Python that changes the brightness logarithmically.

Notifications You must be signed in to change notification settings

alexphanna/xbacklight-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

xbacklight-log

According to the Weber-Fechner law human perception of brightness is logarithmic not linear. By default xbacklight is linear, so adjustment of brightness seems very uneven. xbacklight-log fixes this by wrapping xbacklight and using two seperate brightness values, measured and perceived.

Math

$$\hat{\text{perceived brightness}} = {\frac{\log_{10}(\text{measured brightness}) + 2}{2}}$$

Other Helpful Resources

About

Simple xbacklight wrapper written in Python that changes the brightness logarithmically.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages