This module provides a command to manage your keyboard brightness, it uses a direct connection to dbus to adjust the brightness.
dbus – https://github.com/death/dbus
If you are planning on using this it’s probably best if you use it in conjunction with Quicklisp.
(asdf:oos 'asdf:load-op :stumpwm.contrib.kbd-brightness)
(define-key *top-map* (kbd "XF86KbdBrightnessUp") "kbd-brightness 25")
(define-key *top-map* (kbd "XF86KbdBrightnessDown") "kbd-brightness -25")
In your ~/.stumpwmrc
If you would like the current brightness value to be displayed then add the following to your ~/.stumpwmrc
(setf stumpwm.contrib.kbd-brightness:*keyboard-brightness-display* t)
GPLv3