diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2021-12-11 19:23:24 +0000 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2021-12-11 19:23:24 +0000 |
| commit | 9225c38c80fb1a57bf7ff64ea580cedf5a9fd901 (patch) | |
| tree | cfd5fa2a4e0b83d1c3d8a839e8ab1277ab2d3468 /dotfiles-darwin/emacs/init.el | |
| parent | 0ab13ec1d17cdeacb042b9c935618e9f018d81b0 (diff) | |
emacs: Load and rotate themes in server mode
Diffstat (limited to 'dotfiles-darwin/emacs/init.el')
| -rw-r--r-- | dotfiles-darwin/emacs/init.el | 2 |
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))) |
