Loading pkgs/by-name/ca/catppuccin/package.nix +14 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ let "bat" "bottom" "btop" "element" "grub" "hyprland" "k9s" Loading Loading @@ -78,6 +79,14 @@ let hash = "sha256-mEGZwScVPWGu+Vbtddc/sJ+mNdD2kKienGZVUcTSl+c="; }; element = fetchFromGitHub { name = "element"; owner = "catppuccin"; repo = "element"; rev = "ddced941a2014107918484263b63e030889777fe"; hash = "sha256-8EP/IQW3rdtomHBfnQNIjGbiD6OapPzXPFLjziNDcmc="; }; grub = fetchFromGitHub { name = "grub"; owner = "catppuccin"; Loading Loading @@ -228,6 +237,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 "element" themeList) '' mkdir -p "$out/element" cp -r "${sources.element}/themes/Catppuccin-${variant}.json" "$out/element/" '' + lib.optionalString (lib.elem "grub" themeList) '' mkdir -p "$out/grub" Loading Loading
pkgs/by-name/ca/catppuccin/package.nix +14 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ let "bat" "bottom" "btop" "element" "grub" "hyprland" "k9s" Loading Loading @@ -78,6 +79,14 @@ let hash = "sha256-mEGZwScVPWGu+Vbtddc/sJ+mNdD2kKienGZVUcTSl+c="; }; element = fetchFromGitHub { name = "element"; owner = "catppuccin"; repo = "element"; rev = "ddced941a2014107918484263b63e030889777fe"; hash = "sha256-8EP/IQW3rdtomHBfnQNIjGbiD6OapPzXPFLjziNDcmc="; }; grub = fetchFromGitHub { name = "grub"; owner = "catppuccin"; Loading Loading @@ -228,6 +237,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 "element" themeList) '' mkdir -p "$out/element" cp -r "${sources.element}/themes/Catppuccin-${variant}.json" "$out/element/" '' + lib.optionalString (lib.elem "grub" themeList) '' mkdir -p "$out/grub" Loading