aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-appearance.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/init-appearance.el')
-rw-r--r--.emacs.d/lisp/init-appearance.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-appearance.el b/.emacs.d/lisp/init-appearance.el
index ff848f6..8a42f6a 100644
--- a/.emacs.d/lisp/init-appearance.el
+++ b/.emacs.d/lisp/init-appearance.el
@@ -16,9 +16,13 @@
(gx/set-appearance--linux))
(when *is-a-mac*
(gx/set-appearance--mac)))
- (when (gx/maybe-require-package 'doom-themes)
- (load-theme 'doom-one)))
+ (gx/load-theme))
+
+(defun gx/load-theme ()
+ (when (gx/maybe-require-package 'doom-themes)
+ (load-theme 'doom-one t)
+ (doom-themes-org-config)))
(add-to-list 'after-make-frame-functions #'gx/set-appearance-for-frame)
(add-hook 'after-init-hook #'gx/set-appearance 'append)