template emacs config

Amolith created

Change summary

dot_doom.d/config.org.tmpl | 5 +++++
1 file changed, 5 insertions(+)

Detailed changes

dot_doom.d/config.org → dot_doom.d/config.org.tmpl 🔗

@@ -55,7 +55,12 @@ There are two ways to load a theme. Both assume the theme is installed and
 available. Either set ~doom-theme~ or manually load a theme with the ~load-theme~
 function.
 #+BEGIN_SRC emacs-lisp
+{{- if eq .theme_variant "dark"}}
 (setq doom-theme 'doom-dracula)
+{{- end }}
+{{- if eq .theme_variant "light"}}
+(setq doom-theme 'doom-one-light)
+{{- end }}
 #+END_SRC
 
 This determines the style of line numbers in effect. Disable line numbers by