Switch out light for xbacklight

This commit is contained in:
Jeremy Dormitzer 2020-10-10 11:20:09 -04:00
parent 142d9f9ad8
commit c7d95089e5

View File

@ -199,8 +199,8 @@
(define-key stumpwm:*root-map* (kbd "C-q") "quit-confirm") (define-key stumpwm:*root-map* (kbd "C-q") "quit-confirm")
(define-key stumpwm:*root-map* (kbd "T") "wal") (define-key stumpwm:*root-map* (kbd "T") "wal")
(define-key *top-map* (kbd "M-TAB") "pull-hidden-next") (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 "XF86MonBrightnessDown") "exec xbacklight -dec 10")
(define-key *top-map* (kbd "XF86MonBrightnessUp") "exec light -A 5") (define-key *top-map* (kbd "XF86MonBrightnessUp") "exec xbacklight -inc 10")
(define-key *top-map* (kbd "XF86AudioRaiseVolume") "exec pavolume volup") (define-key *top-map* (kbd "XF86AudioRaiseVolume") "exec pavolume volup")
(define-key *top-map* (kbd "XF86AudioLowerVolume") "exec pavolume voldown") (define-key *top-map* (kbd "XF86AudioLowerVolume") "exec pavolume voldown")
(define-key *top-map* (kbd "XF86AudioMute") "exec pavolume mutetoggle") (define-key *top-map* (kbd "XF86AudioMute") "exec pavolume mutetoggle")