forked from Shinonome/omarchy-nix
@@ -21,9 +21,9 @@ config: let
|
||||
];
|
||||
};
|
||||
|
||||
# Handle custom wallpaper path
|
||||
wallpaper_path = if cfg.theme == "custom"
|
||||
then toString cfg.customTheme.wallpaperPath
|
||||
# Handle wallpaper path for generated themes and overrides
|
||||
wallpaper_path = if (cfg.theme == "generated_light" || cfg.theme == "generated_dark") || (cfg.theme_overrides.wallpaper_path != null)
|
||||
then toString cfg.theme_overrides.wallpaper_path
|
||||
else let
|
||||
selected_wallpaper = builtins.elemAt (wallpapers.${cfg.theme}) 0;
|
||||
in "~/Pictures/Wallpapers/${selected_wallpaper}";
|
||||
|
||||
Reference in New Issue
Block a user