From 0fcc090c577f6a7d0527a2a14e6b90a8f7e16aee Mon Sep 17 00:00:00 2001
From: Chizi123 <joelgrun@gmail.com>
Date: Mon, 01 Apr 2019 11:41:47 +0000
Subject: [PATCH] added theme switching to config

---
 config.org |   23 ++++++++++++++++++-----
 1 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/config.org b/config.org
index 7d0e42c..a4f7fd7 100644
--- a/config.org
+++ b/config.org
@@ -10,12 +10,25 @@
 #+END_SRC
 
 * Aesthetic changes
-** Zenburn theme
+** Emacs theme
+Zenburn theme is the default
 #+BEGIN_SRC emacs-lisp
-  (use-package zenburn-theme
-    :ensure t
-    :config
-    (load-theme 'zenburn t))
+  (setq emacs-theme 'zenburn)
+
+  (cond ((eq emacs-theme 'zenburn)
+         (use-package zenburn-theme
+           :ensure t
+           :config
+           (load-theme 'zenburn t)))
+        ((eq emacs-theme 'doom-one)
+         (use-package doom-themes
+           :ensure t
+           :config
+           (setq doom-themes-enable-bolt t
+                 doom-themes-enable-italic t)
+           (load-theme 'doom-one t)
+           (doom-themes-visual-bell-config)
+           (doom-themes-org-config))))
 #+END_SRC
 ** Default font
 #+BEGIN_SRC emacs-lisp

--
Gitblit v1.9.3