darwin: use generic `(toggle-theme)` for dark/light switching
Alan Pearce alan@alanpearce.eu
Thu, 06 Feb 2025 17:49:33 +0100
1 files changed, 2 insertions(+), 2 deletions(-)
jump to
M user/settings/darwin.nix → user/settings/darwin.nix
@@ -77,11 +77,11 @@ emacsSwitchTheme () { if pgrep -q Emacs; then if [[ $MODE == "dark" ]]; then $emacsclient \ - --eval "(stimmung-themes-load-dark)" \ + --eval "(toggle-theme)" \ --eval "(modify-all-frames-parameters '((ns-appearance '$MODE)))" elif [[ $MODE == "light" ]]; then $emacsclient \ - --eval "(stimmung-themes-load-light)" \ + --eval "(toggle-theme)" \ --eval "(modify-all-frames-parameters '((ns-appearance '$MODE)))" fi fi