Prevent bad interaction between EXWM and winner-mode
[~bandali/configs] / .emacs.d / lisp / bandali-exwm.el
index 463ebbf..3072765 100644 (file)
@@ -27,8 +27,7 @@
 (add-to-list 'load-path (b/lisp "xelb"))
 (add-to-list 'load-path (b/lisp "exwm"))
 (require 'exwm)
-(setq ;; exwm-replace t
-      exwm-workspace-show-all-buffers t)
+;; (setq exwm-replace t)
 ;; make class name the buffer name, truncating beyond 60 characters
 (defun b/exwm-rename-buffer ()
   (interactive)
@@ -312,6 +311,7 @@ around if needed."
 (require 'exwm-edit)
 
 (with-eval-after-load 'exwm-workspace
+  (setq exwm-workspace-show-all-buffers t)
   (setq-default
    mode-line-format
    (append
@@ -321,5 +321,8 @@ around if needed."
         " [%s]" (number-to-string
                 exwm-workspace-current-index)))))))
 
+(with-eval-after-load 'exwm-layout
+  (setq exwm-layout-show-all-buffers t))
+
 (provide 'bandali-exwm)
 ;;; bandali-exwm.el ends here