Reload dashboard windows on focus-in

This commit is contained in:
Henrik Lissner 2017-09-13 20:15:54 +02:00
parent 4f7ce35424
commit fd0b9c8673
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -51,6 +51,7 @@
"Initialize doom-dashboard and set up its hooks; possibly open the dashboard
if in a GUI/non-daemon session."
(add-hook 'window-configuration-change-hook #'+doom-dashboard-reload)
(add-hook 'focus-in-hook #'+doom-dashboard-reload)
(add-hook 'kill-buffer-query-functions #'+doom-dashboard|kill-buffer-query-fn)
(when (and (display-graphic-p) (not (daemonp)))
(+doom-dashboard/open (selected-frame))))