Merge pull request #295350 from khaneliman/catppuccin

Catppuccin: add thunderbird and bump various themes

authored by Artturi and committed by GitHub 4461faee 847fde41

+27 -14
+27 -14
pkgs/data/themes/catppuccin/default.nix
··· 1 1 let 2 - validThemes = [ "bat" "bottom" "btop" "grub" "hyprland" "k9s" "kvantum" "lazygit" "plymouth" "qt5ct" "refind" "rofi" "starship" "waybar" ]; 2 + validThemes = [ "bat" "bottom" "btop" "grub" "hyprland" "k9s" "kvantum" "lazygit" "plymouth" "qt5ct" "refind" "rofi" "starship" "thunderbird" "waybar" ]; 3 3 in 4 4 { fetchFromGitHub 5 5 , lib ··· 20 20 name = "bat"; 21 21 owner = "catppuccin"; 22 22 repo = "bat"; 23 - rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1"; 24 - hash = "sha256-6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw="; 23 + rev = "2bafe4454d8db28491e9087ff3a1382c336e7d27"; 24 + hash = "sha256-yHt3oIjUnljARaihalcWSNldtaJfVDfmfiecYfbzGs0="; 25 25 }; 26 26 27 27 bottom = fetchFromGitHub { ··· 60 60 name = "k9s"; 61 61 owner = "catppuccin"; 62 62 repo = "k9s"; 63 - rev = "516f44dd1a6680357cb30d96f7e656b653aa5059"; 64 - hash = "sha256-PtBJRBNbLkj7D2ko7ebpEjbfK9Ywjs7zbE+Y8FQVEfA="; 63 + rev = "590a762110ad4b6ceff274265f2fe174c576ce96"; 64 + hash = "sha256-EBDciL3F6xVFXvND+5duT+OiVDWKkFMWbOOSruQ0lus="; 65 65 }; 66 66 67 67 kvantum = fetchFromGitHub { ··· 76 76 name = "lazygit"; 77 77 owner = "catppuccin"; 78 78 repo = "lazygit"; 79 - rev = "0543c28e8af1a935f8c512ad9451facbcc17d8a8"; 80 - hash = "sha256-OVihY5E+elPKag2H4RyWiSv+MdIqHtfGNM3/1u2ik6U="; 79 + rev = "v2.0.0"; 80 + hash = "sha256-gM0HplHhcpvtpmIVdlX/p59h0v+ihKEidS1imqPYlBg="; 81 81 }; 82 82 83 83 plymouth = fetchFromGitHub { 84 84 name = "plymouth"; 85 85 owner = "catppuccin"; 86 86 repo = "plymouth"; 87 - rev = "d4105cf336599653783c34c4a2d6ca8c93f9281c"; 88 - hash = "sha256-quBSH8hx3gD7y1JNWAKQdTk3CmO4t1kVo4cOGbeWlNE="; 87 + rev = "67759fbe15eb9490d096ef8014d9f92fc5748fe7"; 88 + hash = "sha256-IzoyVOi44Uay7DTfzR9RdRLSjORsdBM4pPrgeXk5YMI="; 89 89 }; 90 90 91 91 qt5ct = fetchFromGitHub { ··· 120 120 hash = "sha256-nsRuxQFKbQkyEI4TXgvAjcroVdG+heKX5Pauq/4Ota0="; 121 121 }; 122 122 123 + thunderbird = fetchFromGitHub { 124 + name = "thunderbird"; 125 + owner = "catppuccin"; 126 + repo = "thunderbird"; 127 + rev = "d61882ad9fd35909a75da6bb95fca38db552135c"; 128 + hash = "sha256-wn8//8lHScbbB1nEiDY8DphnLUMKZBFMc1GPaTRjTOY="; 129 + }; 130 + 123 131 waybar = fetchFromGitHub { 124 132 name = "waybar"; 125 133 owner = "catppuccin"; ··· 135 143 136 144 stdenvNoCC.mkDerivation { 137 145 inherit pname; 138 - version = "unstable-2023-10-09"; 146 + version = "unstable-2024-03-12"; 139 147 140 148 srcs = selectedSources; 141 149 ··· 154 162 155 163 '' + lib.optionalString (lib.elem "bat" themeList) '' 156 164 mkdir -p $out/bat 157 - cp "${sources.bat}/Catppuccin-${variant}.tmTheme" "$out/bat/" 165 + cp "${sources.bat}/themes/Catppuccin "$capitalizedVariant".tmTheme" "$out/bat/" 158 166 159 167 '' + lib.optionalString (lib.elem "btop" themeList) '' 160 168 mkdir -p $out/btop ··· 174 182 175 183 '' + lib.optionalString (lib.elem "k9s" themeList) '' 176 184 mkdir -p $out/k9s 177 - cp "${sources.k9s}/dist/${variant}.yml" "$out/k9s/" 185 + cp "${sources.k9s}/dist/catppuccin-${variant}.yaml" "$out/k9s/" 186 + cp "${sources.k9s}/dist/catppuccin-${variant}-transparent.yaml" "$out/k9s/" 178 187 179 188 '' + lib.optionalString (lib.elem "kvantum" themeList) '' 180 189 mkdir -p $out/share/Kvantum ··· 182 191 183 192 '' + lib.optionalString (lib.elem "lazygit" themeList) '' 184 193 mkdir -p $out/lazygit/{themes,themes-mergable} 185 - cp "${sources.lazygit}/themes/${variant}/${variant}-${accent}.yml" "$out/lazygit/themes/" 186 - cp "${sources.lazygit}/themes-mergable/${variant}/${variant}-${accent}.yml" "$out/lazygit/themes-mergable/" 194 + cp "${sources.lazygit}/themes/${variant}/${accent}.yml" "$out/lazygit/themes/" 195 + cp "${sources.lazygit}/themes-mergable/${variant}/${accent}.yml" "$out/lazygit/themes-mergable/" 187 196 188 197 '' + lib.optionalString (lib.elem "plymouth" themeList) '' 189 198 mkdir -p $out/share/plymouth/themes/catppuccin-${variant} ··· 206 215 '' + lib.optionalString (lib.elem "starship" themeList) '' 207 216 mkdir -p $out/starship 208 217 cp ${sources.starship}/palettes/${variant}.toml $out/starship/ 218 + 219 + '' + lib.optionalString (lib.elem "thunderbird" themeList) '' 220 + mkdir -p $out/thunderbird 221 + cp ${sources.thunderbird}/themes/${variant}/${variant}-${accent}.xpi $out/thunderbird/ 209 222 210 223 '' + lib.optionalString (lib.elem "waybar" themeList) '' 211 224 mkdir -p $out/waybar