ui/doom: remove 'append in doom-load-theme-hook
This commit is contained in:
parent
78d951bdb0
commit
96e2a7726d
1 changed files with 2 additions and 3 deletions
|
@ -43,12 +43,11 @@
|
|||
(use-package! solaire-mode
|
||||
:defer t
|
||||
:init
|
||||
(add-hook! 'doom-load-theme-hook
|
||||
(add-hook! 'doom-load-theme-hook :append
|
||||
(defun +doom-solaire-mode-swap-bg-maybe-h ()
|
||||
(pcase-let ((`(,theme . ,swap) (assq doom-theme +doom-solaire-themes)))
|
||||
(require 'solaire-mode)
|
||||
(if swap (solaire-mode-swap-bg))))
|
||||
'append)
|
||||
(if swap (solaire-mode-swap-bg)))))
|
||||
:config
|
||||
;; fringe can become unstyled when deleting or focusing frames
|
||||
(add-hook 'focus-in-hook #'solaire-mode-reset)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue