about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-09-04T20·04+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-09-04T20·04+0100
commit4763c7ca45f94e82f450b601ac077bc9972302e8 (patch)
treeea889a3193eebc1ab5664c7cb472d068e046d945 /emacs/.emacs.d/wpc
parent73af825389978546f5668a923527ede8cd607247 (diff)
Restore KBDs for changing my font size
When I removed the KBD logic from fonts.el, I should have moved it here, but I
did not.
Diffstat (limited to 'emacs/.emacs.d/wpc')
-rw-r--r--emacs/.emacs.d/wpc/keybindings.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/.emacs.d/wpc/keybindings.el b/emacs/.emacs.d/wpc/keybindings.el
index adc19861ba59..3917cc7c5fda 100644
--- a/emacs/.emacs.d/wpc/keybindings.el
+++ b/emacs/.emacs.d/wpc/keybindings.el
@@ -34,6 +34,7 @@
 (require 'buffer)
 (require 'display)
 (require 'device)
+(require 'fonts)
 
 ;; Note: The following lines must be sorted this way.
 (setq evil-want-integration t)
@@ -133,6 +134,9 @@
 (keybindings-exwm "<XF86AudioMicMute>" #'pulse-audio-toggle-microphone)
 (keybindings-exwm (kbd-raw 'x11 "s") #'scrot-select)
 (keybindings-exwm "<C-M-tab>" #'window-manager-switch-to-exwm-buffer)
+(keybindings-exwm (kbd-raw 'workspace "k") #'fonts-increase-size)
+(keybindings-exwm (kbd-raw 'workspace "j") #'fonts-decrease-size)
+(keybindings-exwm (kbd-raw 'workspace "0") #'fonts-reset-size)
 
 (general-define-key
  :keymaps 'override