Add some media key bindings
This commit is contained in:
parent
c81c7cae19
commit
7e1a58c7a0
1 changed files with 7 additions and 0 deletions
|
@ -178,6 +178,13 @@ it and run *screen-unlocked-hook* after it has been unlocked."
|
||||||
(set-prefix-key (kbd "C-z"))
|
(set-prefix-key (kbd "C-z"))
|
||||||
|
|
||||||
(define-key *top-map* (kbd "C-M-l") "lock-screen")
|
(define-key *top-map* (kbd "C-M-l") "lock-screen")
|
||||||
|
(define-key *top-map* (kbd "XF86AudioLowerVolume") "exec mpc volume -5")
|
||||||
|
(define-key *top-map* (kbd "XF86AudioMute")
|
||||||
|
"exec amixer sset Master toggle")
|
||||||
|
(define-key *top-map* (kbd "XF86AudioNext") "exec mpc next")
|
||||||
|
(define-key *top-map* (kbd "XF86AudioPlay") "exec mpc toggle")
|
||||||
|
(define-key *top-map* (kbd "XF86AudioPrev") "exec mpc prev")
|
||||||
|
(define-key *top-map* (kbd "XF86AudioRaiseVolume") "exec mpc volume +5")
|
||||||
|
|
||||||
(define-key *root-map* (kbd "c") "raise-urxvt")
|
(define-key *root-map* (kbd "c") "raise-urxvt")
|
||||||
(define-key *root-map* (kbd "C") "run-urxvt")
|
(define-key *root-map* (kbd "C") "run-urxvt")
|
||||||
|
|
Loading…
Reference in a new issue