mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Add solaire-mode-swap-bg
This commit is contained in:
@ -43,6 +43,7 @@
|
|||||||
(add-hook 'doom-popup-mode-hook #'turn-off-solaire-mode)
|
(add-hook 'doom-popup-mode-hook #'turn-off-solaire-mode)
|
||||||
:config
|
:config
|
||||||
(setq solaire-mode-real-buffer-fn #'doom-real-buffer-p)
|
(setq solaire-mode-real-buffer-fn #'doom-real-buffer-p)
|
||||||
|
(add-hook 'doom-init-ui-hook #'solaire-mode-swap-bg t)
|
||||||
|
|
||||||
;; Prevent color glitches when reloading either DOOM or the theme
|
;; Prevent color glitches when reloading either DOOM or the theme
|
||||||
(defun +doom|reset-solaire-mode (&rest _) (solaire-mode-reset))
|
(defun +doom|reset-solaire-mode (&rest _) (solaire-mode-reset))
|
||||||
|
Reference in New Issue
Block a user