From 62aa60825485f3e7a463366caf10f49675d23c07 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 12 Dec 2019 03:39:34 -0500 Subject: [PATCH] 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... --- modules/ui/doom/config.el | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ui/doom/config.el b/modules/ui/doom/config.el index bced52b36..5d0b89b00 100644 --- a/modules/ui/doom/config.el +++ b/modules/ui/doom/config.el @@ -44,6 +44,7 @@ (use-package! solaire-mode + :when (or (daemonp) (display-graphic-p)) :defer t :init (add-hook! 'doom-load-theme-hook :append