Fix empty dashboard on first daemon frame
Dashboard would be empty because +doom-dashboard-reload was never called in daemon sessions (until you switch back to it).
This commit is contained in:
parent
2339481208
commit
5e8a668311
1 changed files with 1 additions and 3 deletions
|
@ -118,9 +118,7 @@ PLIST can have the following properties:
|
||||||
+doom-dashboard-banner-dir)))
|
+doom-dashboard-banner-dir)))
|
||||||
(when (equal (buffer-name) "*scratch*")
|
(when (equal (buffer-name) "*scratch*")
|
||||||
(set-window-buffer nil (doom-fallback-buffer))
|
(set-window-buffer nil (doom-fallback-buffer))
|
||||||
(if (daemonp)
|
(+doom-dashboard-reload))
|
||||||
(add-hook 'after-make-frame-functions #'+doom-dashboard-reload-frame-h)
|
|
||||||
(+doom-dashboard-reload)))
|
|
||||||
;; Ensure the dashboard is up-to-date whenever it is switched to or resized.
|
;; Ensure the dashboard is up-to-date whenever it is switched to or resized.
|
||||||
(add-hook 'window-configuration-change-hook #'+doom-dashboard-resize-h)
|
(add-hook 'window-configuration-change-hook #'+doom-dashboard-resize-h)
|
||||||
(add-hook 'window-size-change-functions #'+doom-dashboard-resize-h)
|
(add-hook 'window-size-change-functions #'+doom-dashboard-resize-h)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue