diff options
author | William Carroll <wpcarro@gmail.com> | 2020-01-18T22·47+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-01-18T22·47+0000 |
commit | 77d46eb5e1ef27f111012adbe966b82238d38fec (patch) | |
tree | b497e8ce80236500cd282883e8fdf52e3af65b75 /configs/shared/.emacs.d/wpc/pulse-audio.el | |
parent | 068a648736c14a8670097dc4c715bc76dbcfe6e6 (diff) |
Debug failed initialization of keybindings
Some more pains of weening off of Dropbox is that my Emacs initialization is sensitive to dependencies and missing require statements. I'm still debugging everything. Some modules called `exwm-input-set-key` before the `window-manager` module loaded, which itself requires EXWM. This broke initialization. To get around this I could've called `(require 'exwm)` in each of those modules. I chose to define a `keybindings.el` module to whitelist some of my EXWM keybindings. I'm not sure if this is the best way forward, but it is *some* way forward.
Diffstat (limited to 'configs/shared/.emacs.d/wpc/pulse-audio.el')
-rw-r--r-- | configs/shared/.emacs.d/wpc/pulse-audio.el | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/configs/shared/.emacs.d/wpc/pulse-audio.el b/configs/shared/.emacs.d/wpc/pulse-audio.el index b81f88c1b098..dba4151a9e3d 100644 --- a/configs/shared/.emacs.d/wpc/pulse-audio.el +++ b/configs/shared/.emacs.d/wpc/pulse-audio.el @@ -20,9 +20,6 @@ (defconst pulse-audio/step-size 5 "The size by which to increase or decrease the volume.") -(defconst pulse-audio/install-kbds? t - "When t, install keybindings defined herein.") - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Library ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -65,15 +62,5 @@ pulse-audio/step-size)) (pulse-audio/message "Volume increased.")) -(when pulse-audio/install-kbds? - (exwm-input-set-key - (kbd "<XF86AudioMute>") #'pulse-audio/toggle-mute) - (exwm-input-set-key - (kbd "<XF86AudioLowerVolume>") #'pulse-audio/decrease-volume) - (exwm-input-set-key - (kbd "<XF86AudioRaiseVolume>") #'pulse-audio/increase-volume) - (exwm-input-set-key - (kbd "<XF86AudioMicMute>") #'pulse-audio/toggle-microphone)) - (provide 'pulse-audio) ;;; pulse-audio.el ends here |