A bunch of scripts that I wrote (or found somewhere in Internet).
- Add
ALL ALL = (ALL) NOPASSWD: /usr/bin/tee /sys/class/backlight/intel_backlight/brightness
(change path if it's different than yours). - Change brightness file path in scripts (if it's different than yours).