From 4ebc1d9a52a90c7b5363fffc55ff34a0f2deb6b2 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 19 Jul 2024 01:15:12 +0400 Subject: [PATCH] set exwm buffers to the window name --- config/emacs/emacs.org | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index aa68de9a..cc2f7247 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -1226,7 +1226,11 @@ I'm scared ;; Update panel indicator when workspace changes (add-hook 'exwm-workspace-switch-hook #'sakomacs/send-polybar-exwm-workspace) - + + ;; set the buffer name to the window name + (add-hook 'exwm-update-class-hook + (lambda () + (exwm-workspace-rename-buffer exwm-class-name))) ;; always use these keys in emacs (setq exwm-input-prefix-keys '(?\C-x