Provoke doom to init theme in daemon session
This commit is contained in:
parent
17a3008493
commit
c1d1753490
1 changed files with 2 additions and 3 deletions
|
@ -467,7 +467,7 @@ character that looks like a space that `whitespace-mode' won't affect.")
|
||||||
;; Theme & font
|
;; Theme & font
|
||||||
;;
|
;;
|
||||||
|
|
||||||
(defvar doom-last-window-system window-system
|
(defvar doom-last-window-system (if (daemonp) 'daemon window-system)
|
||||||
"The `window-system' of the last frame. If this doesn't match the current
|
"The `window-system' of the last frame. If this doesn't match the current
|
||||||
frame's window-system, the theme will be reloaded.")
|
frame's window-system, the theme will be reloaded.")
|
||||||
|
|
||||||
|
@ -517,8 +517,7 @@ frame's window-system, the theme will be reloaded.")
|
||||||
(add-hook 'doom-init-ui-hook #'doom|init-fonts)
|
(add-hook 'doom-init-ui-hook #'doom|init-fonts)
|
||||||
;; themes
|
;; themes
|
||||||
(add-hook 'after-make-frame-functions #'doom|init-theme-in-frame)
|
(add-hook 'after-make-frame-functions #'doom|init-theme-in-frame)
|
||||||
(unless (daemonp)
|
(add-hook 'doom-init-ui-hook #'doom|init-theme)
|
||||||
(add-hook 'doom-init-ui-hook #'doom|init-theme))
|
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue