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:
parent
0b11184e2d
commit
62aa608254
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@
|
|||
|
||||
|
||||
(use-package! solaire-mode
|
||||
:when (or (daemonp) (display-graphic-p))
|
||||
:defer t
|
||||
:init
|
||||
(add-hook! 'doom-load-theme-hook :append
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue