summaryrefslogtreecommitdiff
path: root/emacs/init.el
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2021-12-11 19:23:24 +0000
committerGrégoire Duchêne <gduchene@awhk.org>2021-12-11 19:23:24 +0000
commit9225c38c80fb1a57bf7ff64ea580cedf5a9fd901 (patch)
treecfd5fa2a4e0b83d1c3d8a839e8ab1277ab2d3468 /emacs/init.el
parent0ab13ec1d17cdeacb042b9c935618e9f018d81b0 (diff)
emacs: Load and rotate themes in server mode
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 4b6f4d9..0ef2e47 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -97,7 +97,7 @@
(defvar my/night-theme nil "Theme to use during the night.")
-(when window-system
+(when (or window-system (daemonp))
(require 'doom-themes)
(setq my/day-theme 'doom-one-light