set exwm buffers to the window name

This commit is contained in:
Sakooooo 2024-07-19 01:15:12 +04:00
parent ad2c7df245
commit 4ebc1d9a52
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -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