change helix theme

This commit is contained in:
zoe 2023-03-23 14:42:38 +01:00
parent 5c2a9662eb
commit 4293ee539d
2 changed files with 32 additions and 5 deletions

View File

@ -5,7 +5,7 @@ in
package = pkgs.helix; package = pkgs.helix;
enable = true; enable = true;
settings = { settings = {
theme = "base16_terminal"; theme = "catppuccin_frappe";
editor = { auto-completion = true; auto-format = true; }; editor = { auto-completion = true; auto-format = true; };
}; };
} }

View File

@ -84,11 +84,38 @@ in
package = pkgs.catppuccin-gtk; package = pkgs.catppuccin-gtk;
}; };
}; };
programs.starship = { programs.starship =
let
flavour = "frappe"; # One of `latte`, `frappe`, `macchiato`, or `mocha`
in
{
enable = true;
enableFishIntegration = true;
settings = {
# Other config here
format = "$all"; # Remove this line to disable the default prompt format
palette = "catppuccin_${flavour}";
} // builtins.fromTOML (builtins.readFile
(pkgs.fetchFromGitHub
{
owner = "catppuccin";
repo = "starship";
rev = "3e3e54410c3189053f4da7a7043261361a1ed1bc";
sha256 = "soEBVlq3ULeiZFAdQYMRFuswIIhI9bclIU8WXjxd7oY=";
} + /palettes/${flavour}.toml));
};
programs.bat = {
enable = true; enable = true;
enableFishIntegration = true; config.theme = "catppuccinFrappe";
enableBashIntegration = true; themes = {
catppuccinFrappe = builtins.readFile (pkgs.fetchFromGitHub
{
owner = "catppuccin";
repo = "bat";
rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1";
sha256 = "6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw=";
} + "/Catppuccin-frappe.tmTheme");
};
}; };
}; };
} }