From 3cb2c9bf8da5287c5934d0fd068ea0d39ea7616d Mon Sep 17 00:00:00 2001 From: jao Date: Wed, 18 Jun 2025 02:40:58 +0100 Subject: exwm mode --- custom/jao-custom-exwm.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'custom') diff --git a/custom/jao-custom-exwm.el b/custom/jao-custom-exwm.el index e5c67f8..3cb3fc9 100644 --- a/custom/jao-custom-exwm.el +++ b/custom/jao-custom-exwm.el @@ -194,7 +194,9 @@ (defun jao-exwm-switch-to-next-x () (interactive) - (let ((bfs (seq-filter (lambda (b) (buffer-local-value 'exwm-class-name b)) + (let ((bfs (seq-filter (lambda (b) + (with-current-buffer b + (derived-mode-p 'exwm-mode))) (buffer-list (window-frame))))) (when (car bfs) (switch-to-buffer (car (reverse bfs)))))) @@ -530,6 +532,7 @@ ([f9] . jao-bright-show))) ;; (customize-set-variable 'exwm-input-global-keys exwm-input-global-keys) +(exwm-wm-mode) ;;; . (provide 'jao-custom-exwm) -- cgit v1.2.3