Emacs: enable calling my/set-dark-or-light-theme
Alan Pearce alan@alanpearce.eu
Sat, 08 Oct 2022 01:32:49 +0200
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M user/emacs/init.el → user/emacs/init.el
@@ -75,6 +75,7 @@ modus-themes-diffs 'desaturated) (let ((light-mode-theme 'modus-operandi) (dark-mode-theme 'modus-vivendi)) (defun my/set-dark-or-light-theme () + (interactive) (let ((appearance (plist-get (mac-application-state) :appearance))) (mapc #'disable-theme custom-enabled-themes) (cond ((equal appearance "NSAppearanceNameAqua")