Closed guidoschmidt closed 5 months ago
` (use-package circadian :ensure t :config (setq calendar-latitude 44.0) (setq calendar-longitude 25) (setq circadian-themes '((:sunrise . (funcall (nth (random 2) '(solarized-light spacemacs-light)))) (:sunset . (funcall (nth (random 2) '(solarized-dark spacemacs-darks)))))) (circadian-setup))
`
However, it doesn't work :-(
The feature is awesome, if supported
@eitazhou your binding of circadian-themes doesn't look good. Try this instead:
(setq circadian-themes `((:sunrise . ,(nth (random 2) '(solarized-light spacemacs-light))) (:sunset . ,(nth (random 2) '(solarized-dark spacemacs-darks)))))
Hope it helps!
@BBoal thanks for providing this simple solution. I'm currently working on supporting list of themes
Allow setting a list of themes, that should get loaded on a timeslot (or sunset/sunrise). When loading a theme, it should randomly get selected from that list