an auto luxer
inspired by lumen <https://github.com/anishathalye/lumen> but written for *nix machines. autolux takes a screenshot every few seconds, figures out the ‘average value’ of the resulting image and changes the screen brightness based on screen’s contents.
pip install autolux
- imagemagick (for screenshots + determining average brightness)
- xdotool (finding focused window)
- xbacklight (for setting display brightness)