aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d
diff options
context:
space:
mode:
authorRaul Benencia <id@rbenencia.name>2022-10-07 22:27:41 -0700
committerRaul Benencia <id@rbenencia.name>2022-10-07 22:27:41 -0700
commitbc8e2e19a844bc546b54745aa10a8452b5681cdc (patch)
treebebdfe0cb0ef8745697913a34ac3531d9e13cfec /.emacs.local.d
parentce99582d9227a9a114444724f2f272b652b158bf (diff)
emacs: ef-themes
Diffstat (limited to '.emacs.local.d')
-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