added stuff
This commit is contained in:
parent
937f28770d
commit
236b8c2a6b
907 changed files with 70990 additions and 0 deletions
25
nyx/homes/notashelf/programs/terminal/tools/bat.nix
Normal file
25
nyx/homes/notashelf/programs/terminal/tools/bat.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{pkgs, ...}: let
|
||||
catppuccin = builtins.readFile (pkgs.fetchurl {
|
||||
url = "https://raw.githubusercontent.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme";
|
||||
hash = "sha256-qMQNJGZImmjrqzy7IiEkY5IhvPAMZpq0W6skLLsng/w=";
|
||||
});
|
||||
in {
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
themes = {
|
||||
Catppuccin-mocha = {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "catppuccin";
|
||||
repo = "bat";
|
||||
rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1";
|
||||
sha256 = "sha256-6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw=";
|
||||
};
|
||||
file = "Catppuccin-mocha.tmTheme";
|
||||
};
|
||||
};
|
||||
config = {
|
||||
theme = "Catppuccin-mocha";
|
||||
pager = "less -FR"; # frfr
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue