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:
Henrik Lissner 2019-12-12 03:39:34 -05:00
parent 0b11184e2d
commit 62aa608254
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -44,6 +44,7 @@
(use-package! solaire-mode
:when (or (daemonp) (display-graphic-p))
:defer t
:init
(add-hook! 'doom-load-theme-hook :append