/Users/yaesposi/y/her.esy.fun/src/posts/0014-change-emacs-theme-automatically/index.org
This commit is contained in:
parent
da1f2bf629
commit
eb546befc5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue