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

---
 init.el    |    3 +++
 config.org |   31 +++++++++++++++++++++----------
 2 files changed, 24 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
diff --git a/init.el b/init.el
index e4b4fbc..5265586 100644
--- a/init.el
+++ b/init.el
@@ -34,6 +34,8 @@
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
+ '(custom-safe-themes
+   '("6b2636879127bf6124ce541b1b2824800afc49c6ccd65439d6eb987dbf200c36" default))
  '(ede-project-directories '("c:/Users/joelg/.emacs.d"))
  '(line-number-mode nil)
  '(package-selected-packages
@@ -46,3 +48,4 @@
  )
 (put 'narrow-to-page 'disabled nil)
 (put 'narrow-to-region 'disabled nil)
+(put 'list-timers 'disabled nil)

--
Gitblit v1.9.3