From aa6bf8e8db42d7a6e42968dd8f82cd239f17cefd Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 4 Jan 2023 15:49:12 +0200 Subject: holyK: update class names, change exwm-input to nil --- .emacs.d/lisp/exwm-holyK-firefox.el | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to '.emacs.d/lisp/exwm-holyK-firefox.el') 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 + ))) -- cgit v1.2.3