feat: customize all app's theme to catppuccin-mocha

This commit is contained in:
Ryan Yin
2023-07-29 13:10:46 +08:00
parent 714c45f5f9
commit e1cd93d6d1
24 changed files with 432 additions and 1310 deletions
+32
View File
@@ -0,0 +1,32 @@
{ pkgs, catppuccin-helix, ... }:
{
# https://github.com/catppuccin/helix
xdg.configFile."helix/themes".source = "${catppuccin-helix}/themes/default";
programs.helix = {
enable = true;
package = pkgs.helix;
settings = {
theme = "catppuccin_mocha";
editor = {
line-number = "relative";
cursorline = true;
color-modes = true;
lsp.display-messages = true;
cursor-shape = {
insert = "bar";
normal = "block";
select = "underline";
};
indent-guides.render = true;
};
keys.normal = {
space.space = "file_picker";
space.w = ":w";
space.q = ":q";
esc = [ "collapse_selection" "keep_primary_selection" ];
};
};
};
}