···
+
validThemes = [ "bat" "bottom" "btop" "grub" "hyprland" "k9s" "kvantum" "lazygit" "plymouth" "qt5ct" "refind" "rofi" "starship" "thunderbird" "waybar" ];
···
+
rev = "2bafe4454d8db28491e9087ff3a1382c336e7d27";
+
hash = "sha256-yHt3oIjUnljARaihalcWSNldtaJfVDfmfiecYfbzGs0=";
bottom = fetchFromGitHub {
···
+
rev = "590a762110ad4b6ceff274265f2fe174c576ce96";
+
hash = "sha256-EBDciL3F6xVFXvND+5duT+OiVDWKkFMWbOOSruQ0lus=";
kvantum = fetchFromGitHub {
···
+
hash = "sha256-gM0HplHhcpvtpmIVdlX/p59h0v+ihKEidS1imqPYlBg=";
plymouth = fetchFromGitHub {
+
rev = "67759fbe15eb9490d096ef8014d9f92fc5748fe7";
+
hash = "sha256-IzoyVOi44Uay7DTfzR9RdRLSjORsdBM4pPrgeXk5YMI=";
qt5ct = fetchFromGitHub {
···
hash = "sha256-nsRuxQFKbQkyEI4TXgvAjcroVdG+heKX5Pauq/4Ota0=";
+
thunderbird = fetchFromGitHub {
+
rev = "d61882ad9fd35909a75da6bb95fca38db552135c";
+
hash = "sha256-wn8//8lHScbbB1nEiDY8DphnLUMKZBFMc1GPaTRjTOY=";
waybar = fetchFromGitHub {
···
stdenvNoCC.mkDerivation {
+
version = "unstable-2024-03-12";
···
'' + lib.optionalString (lib.elem "bat" themeList) ''
+
cp "${sources.bat}/themes/Catppuccin "$capitalizedVariant".tmTheme" "$out/bat/"
'' + lib.optionalString (lib.elem "btop" themeList) ''
···
'' + lib.optionalString (lib.elem "k9s" themeList) ''
+
cp "${sources.k9s}/dist/catppuccin-${variant}.yaml" "$out/k9s/"
+
cp "${sources.k9s}/dist/catppuccin-${variant}-transparent.yaml" "$out/k9s/"
'' + lib.optionalString (lib.elem "kvantum" themeList) ''
mkdir -p $out/share/Kvantum
···
'' + lib.optionalString (lib.elem "lazygit" themeList) ''
mkdir -p $out/lazygit/{themes,themes-mergable}
+
cp "${sources.lazygit}/themes/${variant}/${accent}.yml" "$out/lazygit/themes/"
+
cp "${sources.lazygit}/themes-mergable/${variant}/${accent}.yml" "$out/lazygit/themes-mergable/"
'' + lib.optionalString (lib.elem "plymouth" themeList) ''
mkdir -p $out/share/plymouth/themes/catppuccin-${variant}
···
'' + lib.optionalString (lib.elem "starship" themeList) ''
cp ${sources.starship}/palettes/${variant}.toml $out/starship/
+
'' + lib.optionalString (lib.elem "thunderbird" themeList) ''
+
mkdir -p $out/thunderbird
+
cp ${sources.thunderbird}/themes/${variant}/${variant}-${accent}.xpi $out/thunderbird/
'' + lib.optionalString (lib.elem "waybar" themeList) ''