Add keybindings for screen brightness and volume
These rely on the light and pavolume programs respectively.
This commit is contained in:
parent
a1c4b96f84
commit
2f9f6ffdc8
@ -13,6 +13,11 @@
|
||||
(define-key stumpwm:*root-map* (kbd "w") "exec rofi -show window")
|
||||
(define-key stumpwm:*root-map* (kbd "P") "exec passmenu")
|
||||
(define-key stumpwm:*root-map* (kbd "N") "exec networkmanager_dmenu")
|
||||
(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 "XF86AudioRaiseVolume") "exec pavolume volup")
|
||||
(define-key *top-map* (kbd "XF86AudioLowerVolume") "exec pavolume voldown")
|
||||
(define-key *top-map* (kbd "XF86AudioMute") "exec pavolume mutetoggle")
|
||||
|
||||
;; X Windows config
|
||||
(run-shell-command "xsetroot -cursor_name left_ptr")
|
||||
|
Loading…
Reference in New Issue
Block a user