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
---
init.el | 5 ++---
config.org | 23 ++++++++++++++++++-----
2 files changed, 20 insertions(+), 8 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
diff --git a/init.el b/init.el
index b8d74d4..09f7700 100644
--- a/init.el
+++ b/init.el
@@ -34,10 +34,9 @@
;; 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.
- '(ede-project-directories (quote ("c:/Users/joelg/.emacs.d")))
+ '(ede-project-directories '("c:/Users/joelg/.emacs.d"))
'(package-selected-packages
- (quote
- (csv-mode magit minesweeper speed-type spray fireplace powershell company-auctex company-bibtex company-irony-c-headers company-reftex gnuplot-mode gnuplot matlab-mode diminish keyfreq zenburn-theme yasnippet x86-lookup workgroups2 which-key volatile-highlights use-package undo-tree srefactor smartparens racket-mode popwin plantuml-mode pdf-tools org-bullets nyan-mode latex-preview-pane helm-projectile ggtags flycheck-pos-tip flycheck-clang-analyzer company-math company-c-headers clean-aindent-mode auto-package-update))))
+ '(doom-themes csv-mode magit minesweeper speed-type spray fireplace powershell company-auctex company-bibtex company-irony-c-headers company-reftex gnuplot-mode gnuplot matlab-mode diminish keyfreq zenburn-theme yasnippet x86-lookup workgroups2 which-key volatile-highlights use-package undo-tree srefactor smartparens racket-mode popwin plantuml-mode pdf-tools org-bullets nyan-mode latex-preview-pane helm-projectile ggtags flycheck-pos-tip flycheck-clang-analyzer company-math company-c-headers clean-aindent-mode auto-package-update)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
--
Gitblit v1.10.0