X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/b0b341898d6649882e3d9f9dbdc5af1937168af8..f53e480be2490ccecf29e07fe1fec16bdfd2987e:/.emacs.d/init.el?ds=sidebyside diff --git a/.emacs.d/init.el b/.emacs.d/init.el index d6c94f8..eb0606a 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -582,7 +582,7 @@ For disabling the behaviour for certain buffers and/or modes." (use-feature exwm-input :demand - :after exwm + :after exwm-workspace :config (defun b/exwm-ws-prev-index () "Return the index for the previous EXWM workspace, wrapping @@ -711,6 +711,23 @@ around if needed." ;; escape ([?\C-g] . [escape])))) +(use-feature exwm-manage + :demand + :after exwm + :hook + (exwm-manage-finish . (lambda () + (when exwm-class-name + (cond + ((string= exwm-class-name "URxvt") + (exwm-input-set-local-simulation-keys + nil)) + ((string= exwm-class-name "Abrowser") + (exwm-input-set-local-simulation-keys + `(,@exwm-input-simulation-keys + ([?\C-\S-d] . [?\C-d]) + ([?\C-q] . [?\C-w]) + ([?\s-q] . [?\C-q]))))))))) + (use-feature exwm-randr :demand :after exwm