feat: init dynamic wallpaper ($theme gen)
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:
Harivansh Rathi 2026-04-08 15:10:57 -04:00
parent 38c096dbc1
commit af19b1e78b
6 changed files with 489 additions and 11 deletions

View file

@ -76,6 +76,15 @@ let
runtimeInputs = with pkgs; [ nix ];
};
wallpaper-gen = mkScript {
name = "wallpaper-gen";
file = ./wallpaper-gen.sh;
runtimeInputs = with pkgs; [ uv ];
replacements = {
"@WALLPAPER_GEN_PY@" = "${./wallpaper-gen.py}";
};
};
theme = mkScript {
name = "theme";
file = ./theme.sh;
@ -110,8 +119,12 @@ let
"@LAZYGIT_DARWIN_FILE@" = "${config.home.homeDirectory}/Library/Application Support/lazygit/config.yml";
"@LAZYGIT_DARWIN_DARK_FILE@" = "${config.home.homeDirectory}/Library/Application Support/lazygit/config-dark.yml";
"@LAZYGIT_DARWIN_LIGHT_FILE@" = "${config.home.homeDirectory}/Library/Application Support/lazygit/config-light.yml";
"@WALLPAPER_DARK_FILE@" = "${theme.wallpapers.dark}";
"@WALLPAPER_LIGHT_FILE@" = "${theme.wallpapers.light}";
"@WALLPAPER_DIR@" = theme.wallpapers.dir;
"@WALLPAPER_DARK_FILE@" = theme.wallpapers.dark;
"@WALLPAPER_LIGHT_FILE@" = theme.wallpapers.light;
"@WALLPAPER_CURRENT_FILE@" = theme.wallpapers.current;
"@WALLPAPER_STATIC_DARK@" = "${theme.wallpapers.staticDark}";
"@WALLPAPER_STATIC_LIGHT@" = "${theme.wallpapers.staticLight}";
};
};
};