On laptops with /sys/class/backlight/intel_backlight/brightness the backlight will be adjusted by the percent given as an argument.
backlight <percent>
Clone this repository under ~/common-lisp/ or any other place where quicklisp will find the project.
Start up sbcl with debugging disabled to prevent security problem and with quicklisp loaded.
Load backlight:
(ql:quickload :backlight)
Compile binary:
(asdf:make :backlight)
Copy binary to /usr/local/bin/ and set the setuid bit:
cp ~/common-lisp/backlight/backlight /usr/local/bin/
chmod +s /usr/local/bin/backlight
- Lars Engblom
Copyright (c) 2020 Lars Engblom
Licensed under the MIT License.