/Users/yaesposi/y/her.esy.fun/src/posts/0014-change-emacs-theme-automatically/index.org

This commit is contained in:
Yann Esposito (Yogsototh) 2020-09-22 08:13:16 +02:00
parent da1f2bf629
commit eb546befc5
Signed by untrusted user who does not match committer: yogsototh
GPG Key ID: 7B19A4C650D59646
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#+TITLE: Auto change emacs theme
#+AUTHOR: Yann Esposito
#+EMAIL: yann@esposito.host
#+DATE: [2019-09-30 Mon]
#+DATE: [2020-09-22 Tue]
#+KEYWORDS: emacs
#+DESCRIPTION: A small snippet to automatically change theme in emacs.
#+OPTIONS: auto-id:t
@ -30,7 +30,7 @@ curve of the sun.
But for now, just using straight hours should be good enough.
So here is my piece of code I added to my doom-emacs =config.el=:
#+BEGIN_SRC elisp
#+BEGIN_SRC emacs-lisp
(defun y/auto-update-theme ()
"depending on time use different theme"
;; very early => gruvbox-light, solarized-light, nord-light