Skip to content

Commit

Permalink
fix: kitty darkman sync
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston committed Sep 8, 2024
1 parent 36ffe7a commit 766b4ec
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions home/apps/kitty.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ in
tab_title_template = "{index}: {title}{sup.num_windows if num_windows > 1 else ''}{activity_symbol}{bell_symbol}";

macos_option_as_alt = "yes";

shell = lib.mkIf config.programs.nushell.enable "zsh -c 'nu'";
};

keybindings = {
Expand Down Expand Up @@ -105,10 +107,10 @@ in

services.darkman = lib.mkIf config.services.darkman.enable {
lightModeScripts.kitty-theme = ''
${config.programs.kitty.package}/bin/kitty +kitten themes --config-file-name=themes.conf "milspec-light"
${config.programs.kitty.package}/bin/kitten themes --reload-in=all --config-file-name=themes.conf "milspec-light"
'';
darkModeScripts.kitty-theme = ''
${config.programs.kitty.package}/bin/kitty +kitten themes --config-file-name=themes.conf "milspec-dark"
${config.programs.kitty.package}/bin/kitten themes --reload-in=all --config-file-name=themes.conf "milspec-dark"
'';
};
}

0 comments on commit 766b4ec

Please sign in to comment.