dev.fron.io rc / ca53c69
emacs(misc): slower volume control Tony Olagbaiye 8 months ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
3939 (bookmark-save)))
4040 (advice-add 'bookmark-set :after #'bookmark-save-advice)
4141
42 (setq desktop-environment-volume-get-command "amixer -c0 get Master")
43 (setq desktop-environment-volume-set-command "amixer -c0 set Master %s")
44 (setq desktop-environment-volume-toggle-command "amixer -c0 set Master toggle")
4245 (define-key desktop-environment-mode-map (kbd "<269025043>") #'desktop-environment-volume-increment) ; mouse v-up
46 (define-key desktop-environment-mode-map (kbd "S-<269025043>") #'desktop-environment-volume-increment-slowly)
4347 (define-key desktop-environment-mode-map (kbd "<269025041>") #'desktop-environment-volume-decrement) ; mouse v-down
48 (define-key desktop-environment-mode-map (kbd "S-<269025041>") #'desktop-environment-volume-decrement-slowly)
4449 (define-key desktop-environment-mode-map (kbd "<269025073>") #'emms-pause) ; headset btn