catppuccin: add grub theme
This commit is contained in:
parent
45d7c0e3f9
commit
4685940219
1 changed files with 13 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
let
|
let
|
||||||
validThemes = [ "bat" "bottom" "btop" "hyprland" "k9s" "kvantum" "lazygit" "plymouth" "refind" "rofi" "waybar" ];
|
validThemes = [ "bat" "bottom" "btop" "grub" "hyprland" "k9s" "kvantum" "lazygit" "plymouth" "refind" "rofi" "waybar" ];
|
||||||
in
|
in
|
||||||
{ fetchFromGitHub
|
{ fetchFromGitHub
|
||||||
, lib
|
, lib
|
||||||
|
@ -40,6 +40,14 @@ let
|
||||||
hash = "sha256-J3UezOQMDdxpflGax0rGBF/XMiKqdqZXuX4KMVGTxFk=";
|
hash = "sha256-J3UezOQMDdxpflGax0rGBF/XMiKqdqZXuX4KMVGTxFk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
grub = fetchFromGitHub {
|
||||||
|
name = "grub";
|
||||||
|
owner = "catppuccin";
|
||||||
|
repo = "grub";
|
||||||
|
rev = "v1.0.0";
|
||||||
|
hash = "sha256-/bSolCta8GCZ4lP0u5NVqYQ9Y3ZooYCNdTwORNvR7M0=";
|
||||||
|
};
|
||||||
|
|
||||||
hyprland = fetchFromGitHub {
|
hyprland = fetchFromGitHub {
|
||||||
name = "hyprland";
|
name = "hyprland";
|
||||||
owner = "catppuccin";
|
owner = "catppuccin";
|
||||||
|
@ -140,6 +148,10 @@ stdenvNoCC.mkDerivation {
|
||||||
mkdir -p $out/bottom
|
mkdir -p $out/bottom
|
||||||
cp "${sources.bottom}/themes/${variant}.toml" "$out/bottom/"
|
cp "${sources.bottom}/themes/${variant}.toml" "$out/bottom/"
|
||||||
|
|
||||||
|
'' + lib.optionalString (lib.elem "grub" themeList) ''
|
||||||
|
mkdir -p $out/grub
|
||||||
|
cp -r ${sources.grub}/src/catppuccin-${variant}-grub-theme/* "$out/grub/"
|
||||||
|
|
||||||
'' + lib.optionalString (lib.elem "hyprland" themeList) ''
|
'' + lib.optionalString (lib.elem "hyprland" themeList) ''
|
||||||
mkdir -p $out/hyprland
|
mkdir -p $out/hyprland
|
||||||
cp "${sources.hyprland}/themes/${variant}.conf" "$out/hyprland/"
|
cp "${sources.hyprland}/themes/${variant}.conf" "$out/hyprland/"
|
||||||
|
|
Loading…
Reference in a new issue