[exwm] add bindings for exwm-input-toggle-keyboard

This commit is contained in:
contrapunctus 2021-07-31 17:28:20 +05:30
parent 15829f5459
commit c7c54cafd0
1 changed files with 5 additions and 2 deletions

View File

@ -82,6 +82,7 @@ This needs to be before =boon=/=exwm=, or you get a "failed to define function i
#+END_SRC
** exwm
#+BEGIN_SRC emacs-lisp
(require 'exwm)
(setq exwm-input-global-keys
'(([?\C-1] . select-window-1)
([?\C-2] . select-window-2)
@ -93,12 +94,14 @@ This needs to be before =boon=/=exwm=, or you get a "failed to define function i
([?\s-k] . split-window-right)
([?\s-x] . contrapunctus-general-hydra/body)
([?\s-o] . ido-mini)
([?\s-e] . exwm-input-toggle-keyboard)
([?\s-m] . delete-other-windows)
([?\s-w] . split-window-below)
([?\s-v] . split-window-right)
([?\s-b] . contrapunctus-general-hydra/body)
([?\s-n] . ido-mini)))
([?\s-n] . ido-mini)
([?\s-t] . exwm-input-toggle-keyboard)))
(add-hook 'exwm-update-title-hook
(lambda ()
(exwm-workspace-rename-buffer exwm-title)))