From 3a641b599d180d49b65abb298f8d6b90158c3315 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 10 Oct 2023 07:18:09 +0200 Subject: kitty: fix dark/light mode switching --- user/settings/darwin.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user') diff --git a/user/settings/darwin.nix b/user/settings/darwin.nix index 7037ddf9..a43ab3b5 100644 --- a/user/settings/darwin.nix +++ b/user/settings/darwin.nix @@ -77,7 +77,7 @@ MODE="light" fi emacsclient="${config.programs.emacs.finalPackage}/bin/emacsclient" - kitty="${pkgs.kitty}/bin/kitty +kitten themes --reload-in=all --cache-age=-1" + kitty="${pkgs.kitty}/bin/kitty +kitten themes --config-file-name=theme.conf --reload-in=all --cache-age=-1" emacsSwitchTheme () { if pgrep -q Emacs; then if [[ $MODE == "dark" ]]; then -- cgit 1.4.1