feat: bat with theme - catppuccino

This commit is contained in:
Ryan Yin
2023-07-16 16:08:55 +08:00
parent cf80c7549e
commit c06504032c
5 changed files with 978 additions and 15 deletions
+17
View File
@@ -0,0 +1,17 @@
{ ... }:
{
# a cat(1) clone with syntax highlighting and Git integration.
programs.bat = {
enable = true;
config = {
pager = "less -FR";
theme = "Catppuccin-mocha";
};
themes = {
# https://raw.githubusercontent.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme
Catppuccin-mocha = builtins.readFile ./Catppuccin-mocha.tmTheme;
};
};
}