[feat] Add catppuccin theme getter
This commit is contained in:
26
config/nix/themes/catppuccin.nix
Normal file
26
config/nix/themes/catppuccin.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user