ui/doom-dashboard: refresh dashboard on buffer switch
This commit is contained in:
parent
8bd68064ef
commit
dba1f20dd3
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ Possible values:
|
||||||
(add-hook 'focus-in-hook #'+doom-dashboard-reload)
|
(add-hook 'focus-in-hook #'+doom-dashboard-reload)
|
||||||
(add-hook 'window-configuration-change-hook #'+doom-dashboard|resize)
|
(add-hook 'window-configuration-change-hook #'+doom-dashboard|resize)
|
||||||
(add-hook 'kill-buffer-query-functions #'+doom-dashboard|reload-on-kill)
|
(add-hook 'kill-buffer-query-functions #'+doom-dashboard|reload-on-kill)
|
||||||
|
(add-hook 'doom-after-switch-buffer-hook #'+doom-dashboard|reload-on-kill)
|
||||||
(when (daemonp)
|
(when (daemonp)
|
||||||
(add-hook 'after-make-frame-functions #'+doom-dashboard|make-frame))
|
(add-hook 'after-make-frame-functions #'+doom-dashboard|make-frame))
|
||||||
;; `persp-mode' integration: update `default-directory' when switching
|
;; `persp-mode' integration: update `default-directory' when switching
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue