I just cannot find it anymore under his profile, so I upload it here since it’s GPL 3
A simple program that switches between two themes at the desired time
The config is quite simple, you just need to set both of the themes and the hours when you want the theme to switch
day-theme
is the day theme.
night-theme
is the night theme.
day-hour
is the hour of the switch in the morning.
night-hour
is the hour of the switch in the evening.
(require 'theme-switcher)
;; Set the light and dark theme
(setq day-theme 'spacemacs-light)
(setq night-theme 'spacemacs-dark)
;; Set the hour when you want the theme to switch
(setq day-hour 07)
(setq night-hour 18)
- [ ] Make the hour more precise
- [ ] Create a minor mode ?