diff --git a/home-manager/home.nix b/home-manager/home.nix index b0ebf65..ea286d5 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -114,7 +114,7 @@ in }; "scripts/wallpaper-updater.sh" = { text = '' - magick input.png -fuzz 10% -fill #${BG} -opaque "$(convert input.png -format "%[pixel:u.p{0,0}]" info:-)" output.png + magick ${WALLPAPER_PATH} -fuzz 10% -fill #${BG} -opaque "$(convert ${WALLPAPER_PATH} -format "%[pixel:u.p{0,0}]" info:-)" ${WALLPAPER_PATH} ''; executable = true; };