diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/settings/darwin.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/user/settings/darwin.nix b/user/settings/darwin.nix index 699caa40..65200305 100644 --- a/user/settings/darwin.nix +++ b/user/settings/darwin.nix @@ -115,10 +115,12 @@ emacsSwitchTheme () { if pgrep -q Emacs; then if [[ $MODE == "dark" ]]; then - $emacsclient --eval "(modus-themes-load-theme (cadr modus-themes-to-toggle))" \ + $emacsclient \ + --eval "(stimmung-themes-load-dark)" \ --eval "(modify-all-frames-parameters '((ns-appearance '$MODE)))" elif [[ $MODE == "light" ]]; then - $emacsclient --eval "(modus-themes-load-theme (car modus-themes-to-toggle))" \ + $emacsclient \ + --eval "(stimmung-themes-load-light)" \ --eval "(modify-all-frames-parameters '((ns-appearance '$MODE)))" fi fi |