Set Light and Dark themes based on time of day (or system) #6567
-
It'd be really helpful to have some kind of a theme-mode switcher, based on the time of day. On vim, I was able to set startup themes using vimscript: if strftime("%H") > 17 || strftime("%H") < 7
colo monokai
else
set background=light
colo PaperColor
endif This wasn't ideal, because it only ran on startup. |
Beta Was this translation helpful? Give feedback.
Answered by
the-mikedavis
Apr 3, 2023
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dessalines
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#2158