From ddcfc33717a7952be2c477bda987631a508f57b0 Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Thu, 11 Apr 2024 22:29:57 +0100 Subject: [PATCH] Disable exwm mode. Posframe issue --- lisp/fg42/modeline.el | 5 +---- lisp/fg42/modeline/views.el | 11 +++++------ 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/lisp/fg42/modeline.el b/lisp/fg42/modeline.el index 3594d3c..dd7c0dc 100644 --- a/lisp/fg42/modeline.el +++ b/lisp/fg42/modeline.el @@ -76,10 +76,7 @@ to Emacs modeline." ;; Setup modelines (when-not-wm - (setq-default noether-views (list fg42/modeline))) - - (when-wm - (setq-default noether-views (list fg42/minimal-exwm)))) + (setq-default noether-views (list fg42/modeline)))) (provide 'fg42/modeline) ;;; modeline.el ends here diff --git a/lisp/fg42/modeline/views.el b/lisp/fg42/modeline/views.el index 48abff4..2ffa9a9 100644 --- a/lisp/fg42/modeline/views.el +++ b/lisp/fg42/modeline/views.el @@ -33,8 +33,7 @@ (defun fg42/--bottom-right-padded (info) "Keep the modeline at bottom right by using the data from INFO." - (message "here") - (cons 20 20)) + (cons -70 -1)) (defun fg42/adjust-modeline (view) @@ -79,14 +78,14 @@ Appears on the center of the current window." :managed? t :buffer "*exwm-status*" - :binding (kbd "C-c 3") + :binding (kbd "C-c 1") :separator " | " - :visible? t - :timeout 0 + + :timeout 10 :frame (list :poshandler #'fg42/--bottom-right-padded - :border-width 1 + :border-width 0 :border-color "#bd93f9") :units