summaryrefslogtreecommitdiff
path: root/dotfiles-darwin
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles-darwin')
-rw-r--r--dotfiles-darwin/emacs/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles-darwin/emacs/init.el b/dotfiles-darwin/emacs/init.el
index 184d681..d5cb41d 100644
--- a/dotfiles-darwin/emacs/init.el
+++ b/dotfiles-darwin/emacs/init.el
@@ -9,7 +9,7 @@
;; Theme Management
-(when window-system
+(when (or window-system (daemonp))
(my/with-add-hook 'after-init-hook
(run-at-time nil (* 15 60) #'my/maybe-switch-theme my/day-theme
my/night-theme #'my/macos-dark-p)))