catppuccin: add lxqt theme

This commit is contained in:
Connor Brook 2024-04-03 05:15:45 +01:00
parent b31b5db8b4
commit 77ea4d6b90
1 changed files with 13 additions and 1 deletions

View File

@ -1,5 +1,5 @@
let
validThemes = [ "bat" "bottom" "btop" "grub" "hyprland" "k9s" "kvantum" "lazygit" "plymouth" "qt5ct" "refind" "rofi" "starship" "thunderbird" "waybar" ];
validThemes = [ "bat" "bottom" "btop" "grub" "hyprland" "k9s" "kvantum" "lazygit" "lxqt" "plymouth" "qt5ct" "refind" "rofi" "starship" "thunderbird" "waybar" ];
in
{ fetchFromGitHub
, lib
@ -80,6 +80,14 @@ let
hash = "sha256-gM0HplHhcpvtpmIVdlX/p59h0v+ihKEidS1imqPYlBg=";
};
lxqt = fetchFromGitHub {
name = "lxqt";
owner = "catppuccin";
repo = "lxqt";
rev = "38cf86b3e499e0c0928a102c9c030e5dc6b79255";
hash = "sha256-3TuUkOwk6BSc7BnLnTowGAkSlNTOtGTRlEcjJ6MNJ5g=";
};
plymouth = fetchFromGitHub {
name = "plymouth";
owner = "catppuccin";
@ -194,6 +202,10 @@ stdenvNoCC.mkDerivation {
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 "lxqt" themeList) ''
mkdir -p $out/share/lxqt/themes/catppuccin-${variant}
cp -r ${sources.lxqt}/src/catppuccin-${variant}/* $out/share/lxqt/themes/catppuccin-${variant}/
'' + lib.optionalString (lib.elem "plymouth" themeList) ''
mkdir -p $out/share/plymouth/themes/catppuccin-${variant}
cp ${sources.plymouth}/themes/catppuccin-${variant}/* $out/share/plymouth/themes/catppuccin-${variant}