[feat] Add catppuccin theme getter

This commit is contained in:
uttarayan21
2024-03-04 04:01:14 +05:30
parent b590e705b5
commit 1d8361356e
9 changed files with 120 additions and 103 deletions

View File

@@ -0,0 +1,26 @@
{ pkgs, flavor, ... }:
let
mkCatppuccin = { owner ? "catppuccin", item, rev ? "main", sha256 ? pkgs.lib.fakeSha256 }:
pkgs.stdenv.mkDerivation {
pname = item;
version = "0.0.1";
src = pkgs.fetchFromGitHub {
inherit owner rev sha256;
repo = item;
};
};
in
{
bat = mkCatppuccin {
item = "bat";
};
hyprland = mkCatppuccin {
item = "hyprland";
};
starship = mkCatppuccin {
item = "starship";
};
}