catppuccin: add whoogle

This commit is contained in:
SchweGELBin
2026-04-04 20:38:11 +02:00
parent 4f2d81556c
commit ebe00da9c3
+14
View File
@@ -19,6 +19,7 @@ let
"starship"
"thunderbird"
"waybar"
"whoogle"
];
in
{
@@ -208,6 +209,14 @@ let
rev = "ee8ed32b4f63e9c417249c109818dcc05a2e25da";
hash = "sha256-za0y6hcN2rvN6Xjf31xLRe4PP0YyHu2i454ZPjr+lWA=";
};
whoogle = fetchFromGitHub {
name = "whoogle";
owner = "catppuccin";
repo = "whoogle";
rev = "9d961dc6e2ac405fee18ee1da9a14db1f139db39";
hash = "sha256-GyJD/xAF481ZMHOEfwW1SrWW6LT8ARRFizbfjl526XE=";
};
};
in
lib.checkListOfEnum "${pname}: variant" validVariants [ variant ] lib.checkListOfEnum
@@ -338,6 +347,11 @@ lib.checkListOfEnum "${pname}: variant" validVariants [ variant ] lib.checkListO
mkdir -p "$out/waybar"
cp "${sources.waybar}/themes/${variant}.css" "$out/waybar"
''
+ lib.optionalString (lib.elem "whoogle" themeList) ''
mkdir -p "$out/whoogle"
cp "${sources.whoogle}/css/${variant}.css" "$out/whoogle"
''
+ ''
runHook postInstall