aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/modes
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.local.d/modes')
-rw-r--r--.emacs.local.d/modes/themes.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/.emacs.local.d/modes/themes.el b/.emacs.local.d/modes/themes.el
index 552aded..14efddd 100644
--- a/.emacs.local.d/modes/themes.el
+++ b/.emacs.local.d/modes/themes.el
@@ -1,3 +1,5 @@
+(use-package ef-themes :ensure t)
+
(setq
modus-themes-mode-line '(accented borderless padded)
modus-themes-region '(bg-only)
@@ -16,9 +18,9 @@
(message "value is %s" value)
(if (equal value '1)
(progn (message "Switch to dark theme")
- (modus-themes-load-vivendi))
+ (ef-themes-select 'ef-dark))
(progn (message "Switch to light theme")
- (modus-themes-load-operandi))))
+ (ef-themes-select 'ef-light))))
(defun mf/color-scheme-changed (path var value)
"DBus handler to detect when the color-scheme has changed."
nihil fit ex nihilo