Work

brits

A Linux brightness tool I wrote because every existing option drifted when converting percentages to hardware values. brits keeps each step exact.

Role
Author
When
2024

I run Arch with Hyprland, so brightness is whatever I bind it to. Every existing tool I tried had the same flaw: step up by five percent repeatedly and the numbers wander, because the percentage is being rounded against a 0–255 hardware range and the error compounds.

brits fixes the rounding so the steps stay exact. It's a small program that does one thing correctly, which is most of what I want from a keybinding.

Built with

  • Python
  • Linux