circadian.el icon indicating copy to clipboard operation
circadian.el copied to clipboard

Provide list of themes for sunset/sunrise/timeslot

Open guidoschmidt opened this issue 7 years ago • 3 comments

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

guidoschmidt avatar May 30 '18 08:05 guidoschmidt

` (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 :-(

eitazhou avatar Mar 03 '20 15:03 eitazhou

The feature is awesome, if supported

lemyx avatar Jun 22 '23 23:06 lemyx

@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 avatar Dec 04 '23 01:12 BBoal

@BBoal thanks for providing this simple solution. I'm currently working on supporting list of themes

guidoschmidt avatar Apr 19 '24 20:04 guidoschmidt