From 412080ca85be284ee2ed16ca4812f81b3554f481 Mon Sep 17 00:00:00 2001
From: Chizi123 <joelgrun@gmail.com>
Date: Tue, 07 May 2019 08:45:35 +0000
Subject: [PATCH] Added some more theming options

---
 config.org |   31 +++++++++++++++++++++----------
 1 files changed, 21 insertions(+), 10 deletions(-)

diff --git a/config.org b/config.org
index 5b3a1c1..36eb92a 100644
--- a/config.org
+++ b/config.org
@@ -17,20 +17,30 @@
 #+BEGIN_SRC emacs-lisp
   (setq emacs-theme 'zenburn)
 
+  (defun disable-all-themes ()
+    (dolist (i custom-enabled-themes)
+      (disable-theme i)))
+
   (cond ((eq emacs-theme 'zenburn)
          (use-package zenburn-theme
            :ensure t
+           :init
+           (disable-all-themes)
            :config
            (load-theme 'zenburn t)))
         ((eq emacs-theme 'doom-one)
          (use-package doom-themes
            :ensure t
+           :init
+           (disable-all-themes)
            :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))))
+           (doom-themes-org-config)))
+        ((eq emacs-theme 'none)
+         (disable-all-themes)))
 #+END_SRC
 
 ** Default font
@@ -452,15 +462,16 @@
 ** Spaceline
 A little easier to read than the default emacs mode line
 #+BEGIN_SRC emacs-lisp
-  (use-package spaceline
-    :ensure t
-    :config
-    (require 'spaceline-config)
-    (setq spaceline-buffer-encoding-abbrev-p t)
-    (setq spaceline-line-column-p t)
-    (setq spaceline-line-p t)
-    (setq powerline-default-separator (quote arrow))
-    (spaceline-spacemacs-theme))
+    (use-package spaceline
+      :ensure t
+      :config
+      (require 'spaceline-config)
+      (setq spaceline-buffer-encoding-abbrev-p t)
+      (setq spaceline-line-column-p t)
+      (setq spaceline-line-p t)
+      (setq powerline-default-separator (quote arrow))
+      (spaceline-spacemacs-theme)
+      (spaceline-helm-mode))
 #+END_SRC
 
 ** No separator

--
Gitblit v1.9.3