summaryrefslogtreecommitdiffstats
path: root/pkgs/data
diff options
context:
space:
mode:
authorAleksana <me@aleksana.moe>2024-04-10 22:25:21 +0800
committerGitHub <noreply@github.com>2024-04-10 22:25:21 +0800
commit39f8cb5840d72e0e5afb8f757a580d43ec735ea7 (patch)
tree01f7b26ac509e7afdef06502fc611b207d7bcf1e /pkgs/data
parent0f9de591b6e1d0d0f93e3697888e19db202b1c7e (diff)
parent77ea4d6b9020c2eec5f1bed859ccfaad67ebb952 (diff)
Merge pull request #301148 from Viibrant/lxqt-theme-support
catppuccin: add lxqt theme
Diffstat (limited to 'pkgs/data')
-rw-r--r--pkgs/data/themes/catppuccin/default.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/pkgs/data/themes/catppuccin/default.nix b/pkgs/data/themes/catppuccin/default.nix
index accc06f48c2f..2463b1fde6db 100644
--- a/pkgs/data/themes/catppuccin/default.nix
+++ b/pkgs/data/themes/catppuccin/default.nix
@@ -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}