catppuccin: add delta

This commit is contained in:
Lucius Hu
2026-06-16 23:04:38 -04:00
parent c530e744f6
commit d38f54039b
+14
View File
@@ -4,6 +4,7 @@ let
"bat"
"bottom"
"btop"
"delta"
"element"
"grub"
"hyprland"
@@ -90,6 +91,14 @@ let
hash = "sha256-mEGZwScVPWGu+Vbtddc/sJ+mNdD2kKienGZVUcTSl+c=";
};
delta = fetchFromGitHub {
name = "delta";
owner = "catppuccin";
repo = "delta";
rev = "011516f5d14f66b771b3e716f29c77231e008c74";
hash = "sha256-lztkxX9O41YossvRzpR7tqxMhDNT1Efy2JvkCwtsiXQ=";
};
element = fetchFromGitHub {
name = "element";
owner = "catppuccin";
@@ -268,6 +277,11 @@ lib.checkListOfEnum "${pname}: variant" validVariants [ variant ] lib.checkListO
mkdir -p "$out/bottom"
cp "${sources.bottom}/themes/${variant}.toml" "$out/bottom"
''
+ lib.optionalString (lib.elem "delta" themeList) ''
mkdir -p "$out/delta"
cp "${sources.delta}/catppuccin.gitconfig" "$out/delta"
''
+ lib.optionalString (lib.elem "element" themeList) ''
mkdir -p "$out/element"