mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
ui/doom: only load solaire-mode in daemon or gui sessions
Why daemon? Because we can't be sure if the user will open graphical or tty frames. Detecting this is a messy affair, so I leave it to the user to deal with. This'll have to be documented somewhere...
This commit is contained in:
@ -44,6 +44,7 @@
|
||||
|
||||
|
||||
(use-package! solaire-mode
|
||||
:when (or (daemonp) (display-graphic-p))
|
||||
:defer t
|
||||
:init
|
||||
(add-hook! 'doom-load-theme-hook :append
|
||||
|
Reference in New Issue
Block a user