mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 08:03:44 +00:00
feat: init dynamic wallpaper ($theme gen)
This commit is contained in:
parent
38c096dbc1
commit
af19b1e78b
6 changed files with 489 additions and 11 deletions
|
|
@ -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}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue