2023-12-15 15:18:36 +00:00
|
|
|
{pkgs, ...}: let
|
2023-06-18 12:55:20 +00:00
|
|
|
catppuccin-bat = pkgs.fetchFromGitHub {
|
|
|
|
owner = "catppuccin";
|
|
|
|
repo = "bat";
|
|
|
|
rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1";
|
|
|
|
sha256 = "1g2r6j33f4zys853i1c5gnwcdbwb6xv5w6pazfdslxf69904lrg9";
|
|
|
|
};
|
|
|
|
in {
|
|
|
|
programs.bat = {
|
|
|
|
enable = true;
|
|
|
|
themes = {
|
2023-10-16 18:12:49 +00:00
|
|
|
catppuccin = {
|
|
|
|
src = catppuccin-bat;
|
|
|
|
file = "Catppuccin-mocha.tmTheme";
|
|
|
|
};
|
2023-06-18 12:55:20 +00:00
|
|
|
};
|
|
|
|
config.theme = "catppuccin";
|
2023-12-15 15:18:36 +00:00
|
|
|
extraPackages = with pkgs.bat-extras; [batman];
|
2023-06-18 12:55:20 +00:00
|
|
|
};
|
|
|
|
programs.zsh.shellAliases = {
|
|
|
|
cat = "bat";
|
|
|
|
man = "batman";
|
|
|
|
};
|
|
|
|
}
|