mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Fix: sometimes the persp name is not updated. e.g. other-window.
This commit is contained in:
parent
5e8b134b5b
commit
ae0ecddd31
1 changed files with 1 additions and 1 deletions
|
@ -1362,9 +1362,9 @@ mouse-2: Show help for minor mode"
|
|||
(doom-modeline-spc)))))))
|
||||
|
||||
(add-hook 'find-file-hook #'doom-modeline-update-persp-name)
|
||||
(add-hook 'buffer-list-update-hook #'doom-modeline-update-persp-name)
|
||||
(add-hook 'persp-activated-functions #'doom-modeline-update-persp-name)
|
||||
(add-hook 'persp-renamed-functions #'doom-modeline-update-persp-name)
|
||||
(advice-add #'select-window :after #'doom-modeline-update-persp-name)
|
||||
|
||||
(doom-modeline-def-segment persp-name
|
||||
"The current perspective name."
|
||||
|
|
Loading…
Reference in a new issue