mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 19:17:45 +00:00
Add catppuccin theme for Bat
This commit is contained in:
parent
28f0150cd1
commit
7b18ac23c7
1 changed files with 12 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, pkgs, systemPackages, homeConfiguration, ... }: lib.recursiveUpdate
|
||||
{ lib, pkgs, systemPackages, homeConfiguration, enabled, ... }: lib.recursiveUpdate
|
||||
|
||||
(with pkgs; systemPackages [
|
||||
bat
|
||||
|
@ -9,4 +9,15 @@
|
|||
PAGER = "\"bat --plain\"";
|
||||
MANPAGER = "\"sh -c 'col --spaces --no-backspaces | bat --plain --language man'\"";
|
||||
};
|
||||
|
||||
programs.bat = enabled {
|
||||
config.theme = "catppuccin";
|
||||
|
||||
themes.catppuccin = builtins.readFile (pkgs.fetchFromGitHub {
|
||||
owner = "catppuccin";
|
||||
repo = "bat";
|
||||
rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1";
|
||||
sha256 = "sha256-6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw=";
|
||||
} + "/Catppuccin-mocha.tmTheme");
|
||||
};
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue