From c7d95089e53c26b908f4ac83d48c415124e39c1b Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sat, 10 Oct 2020 11:20:09 -0400 Subject: [PATCH] Switch out light for xbacklight --- stumpwm/.stumpwm.d/init.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stumpwm/.stumpwm.d/init.lisp b/stumpwm/.stumpwm.d/init.lisp index a1d4737..6d78647 100644 --- a/stumpwm/.stumpwm.d/init.lisp +++ b/stumpwm/.stumpwm.d/init.lisp @@ -199,8 +199,8 @@ (define-key stumpwm:*root-map* (kbd "C-q") "quit-confirm") (define-key stumpwm:*root-map* (kbd "T") "wal") (define-key *top-map* (kbd "M-TAB") "pull-hidden-next") -(define-key *top-map* (kbd "XF86MonBrightnessDown") "exec light -U 5") -(define-key *top-map* (kbd "XF86MonBrightnessUp") "exec light -A 5") +(define-key *top-map* (kbd "XF86MonBrightnessDown") "exec xbacklight -dec 10") +(define-key *top-map* (kbd "XF86MonBrightnessUp") "exec xbacklight -inc 10") (define-key *top-map* (kbd "XF86AudioRaiseVolume") "exec pavolume volup") (define-key *top-map* (kbd "XF86AudioLowerVolume") "exec pavolume voldown") (define-key *top-map* (kbd "XF86AudioMute") "exec pavolume mutetoggle")