ui/doom: use solaire-global-mode #1070
This commit is contained in:
parent
e58c1ff89d
commit
6992e27884
1 changed files with 3 additions and 2 deletions
|
@ -49,7 +49,6 @@
|
||||||
(if (cdr rule) (solaire-mode-swap-bg))))
|
(if (cdr rule) (solaire-mode-swap-bg))))
|
||||||
(add-hook 'doom-load-theme-hook #'+doom|solaire-mode-swap-bg-maybe t)
|
(add-hook 'doom-load-theme-hook #'+doom|solaire-mode-swap-bg-maybe t)
|
||||||
:config
|
:config
|
||||||
(add-hook 'change-major-mode-after-body-hook #'turn-on-solaire-mode)
|
|
||||||
;; fringe can become unstyled when deleting or focusing frames
|
;; fringe can become unstyled when deleting or focusing frames
|
||||||
(add-hook 'focus-in-hook #'solaire-mode-reset)
|
(add-hook 'focus-in-hook #'solaire-mode-reset)
|
||||||
;; Prevent color glitches when reloading either DOOM or loading a new theme
|
;; Prevent color glitches when reloading either DOOM or loading a new theme
|
||||||
|
@ -72,4 +71,6 @@
|
||||||
(advice-add 'which-key--show-buffer-side-window :after #'doom*no-fringes-in-which-key-buffer)
|
(advice-add 'which-key--show-buffer-side-window :after #'doom*no-fringes-in-which-key-buffer)
|
||||||
|
|
||||||
(add-hook! '(minibuffer-setup-hook window-configuration-change-hook)
|
(add-hook! '(minibuffer-setup-hook window-configuration-change-hook)
|
||||||
#'+doom|disable-fringes-in-minibuffer))
|
#'+doom|disable-fringes-in-minibuffer)
|
||||||
|
|
||||||
|
(solaire-global-mode +1))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue