This commit is contained in:
2023-06-06 09:50:14 -04:00
parent 471a626e53
commit 070446cfd8
4 changed files with 27 additions and 1 deletions

16
home-manager/home-bat.nix Normal file
View File

@@ -0,0 +1,16 @@
pkgs:
{
enable = true;
extraPackages = with pkgs.bat-extras; [ batdiff batman batgrep batwatch ];
config = {
theme = "catppuccin-macchiato";
};
themes = {
catppuccin-macchiato = builtins.readFile (pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "sublime-text"; # Bat uses sublime syntax for its themes
rev = "3d8625d937d89869476e94bc100192aa220ce44a";
sha256 = "3ABUsfJpb6RO6AiuuSL5gwDofJIwC5tlEMzBrlY9/s0=";
} + "/Macchiato.tmTheme");
};
}