feat: better handles (#70)
Some checks are pending
quality / changes (push) Waiting to run
quality / Flake Check (push) Blocked by required conditions
quality / Nix Format Check (push) Blocked by required conditions
quality / Deploy netty (push) Blocked by required conditions

This commit is contained in:
Hari 2026-04-08 16:38:20 -04:00 committed by GitHub
parent af19b1e78b
commit c84611bdf1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 129 additions and 37 deletions

View file

@ -11,6 +11,12 @@ let
light = pkgs.writeText "tmux-theme-light.conf" (theme.renderTmux "light");
};
wallpaperGenConfig = pkgs.writeText "wallpaper-gen-config.json" (
builtins.toJSON theme.wallpapers.generation
);
wallpaperPython = pkgs.python3.withPackages (ps: [ ps.pillow ]);
mkScript =
{
file,
@ -79,9 +85,10 @@ let
wallpaper-gen = mkScript {
name = "wallpaper-gen";
file = ./wallpaper-gen.sh;
runtimeInputs = with pkgs; [ uv ];
runtimeInputs = [ wallpaperPython ];
replacements = {
"@WALLPAPER_GEN_PY@" = "${./wallpaper-gen.py}";
"@WALLPAPER_GEN_CONFIG@" = "${wallpaperGenConfig}";
};
};