diff options
-rw-r--r-- | .emacs.d/lisp/exwm-holyK-firefox.el | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/.emacs.d/lisp/exwm-holyK-firefox.el b/.emacs.d/lisp/exwm-holyK-firefox.el index d3e5f40..30eff56 100644 --- a/.emacs.d/lisp/exwm-holyK-firefox.el +++ b/.emacs.d/lisp/exwm-holyK-firefox.el @@ -5,8 +5,9 @@ (require 'exwm-firefox-core) -(defvar exwm-firefox-class-names '("firefox-default" "firefox" "Firefox" "Nightly" "Icecat") - "The class name used for detecting if current buffer is firefox.") +(defvar exwm-firefox-class-names + '("firefox-default" "firefox" "Firefox" "Nightly" "Icecat") + "The class name used for detecting if current buffer is a firefox browser.") (define-minor-mode exwm-firefox-holyK-mode "Get Emacs keybindings in Firefox with EXWM." @@ -28,5 +29,8 @@ Firefox variant can be assigned in 'exwm-firefox-class-names`" (interactive) (if (member exwm-class-name exwm-firefox-class-names) - (exwm-firefox-holyK-mode 1))) + (list (exwm-firefox-holyK-mode 1) + (setq-local exwm-input-line-mode-passthrough nil) + ;;if exwm-input-line-mode-passthroug t mouse will stop working properly + ))) |