summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2025-06-18 02:40:58 +0100
committerjao <jao@gnu.org>2025-06-18 02:40:58 +0100
commit3cb2c9bf8da5287c5934d0fd068ea0d39ea7616d (patch)
treed6f6a0a9b2ed3a21bba949d0efa68e5d88ed9015
parentcb156b115567c3a4a066bf22ac65a3a7d6b3d68d (diff)
downloadelibs-3cb2c9bf8da5287c5934d0fd068ea0d39ea7616d.tar.gz
elibs-3cb2c9bf8da5287c5934d0fd068ea0d39ea7616d.tar.bz2
exwm mode
-rw-r--r--custom/jao-custom-exwm.el5
1 files changed, 4 insertions, 1 deletions
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)