From 9225c38c80fb1a57bf7ff64ea580cedf5a9fd901 Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Sat, 11 Dec 2021 19:23:24 +0000 Subject: emacs: Load and rotate themes in server mode --- dotfiles-darwin/emacs/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dotfiles-darwin/emacs/init.el') 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))) -- cgit v1.2.3-70-g09d2