From 00c69615b8b099861e38a8d9f8b09a98dc6100fc Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Sat, 29 Aug 2020 18:13:19 -0400 Subject: [PATCH] Fix theme being loaded out of order --- init.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 62562ef..e41ec90 100644 --- a/init.el +++ b/init.el @@ -184,7 +184,9 @@ (concat "xprop -f _GTK_THEME_VARIANT 8u -set _GTK_THEME_VARIANT dark -id " winid))) (tool-bar-mode 0) (scroll-bar-mode 0) - (when (not init-file/theme-loaded) + (when (and + (daemonp) + (not init-file/theme-loaded)) (load-theme 'mood-one t) (setq init-file/theme-loaded t)))) @@ -375,6 +377,8 @@ ;; Load "mood-one" (use-package mood-one-theme + :after + (solaire-mode) :demand t :config