mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-26 18:58:28 +02:00
feat: customize all app's theme to catppuccin-mocha
This commit is contained in:
14
home/base/server/bat.nix
Normal file
14
home/base/server/bat.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ catppuccin-bat, ...}: {
|
||||
# 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-bat}/Catppuccin-mocha.tmTheme";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user