Wallpaper: Move instead of copy.

This commit is contained in:
Dmitry Voronin 2025-01-05 07:27:40 +03:00
parent b06b48359d
commit 70b1bab7a3
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -28,7 +28,7 @@ let
if video then
pkgs.runCommandNoCC "wallpaper-video-image" { } ''
${pkgs.ffmpeg}/bin/ffmpeg -hide_banner -loglevel error -ss 00:00:00 -i ${videoPath} -frames:v 1 -q:v 1 Image.jpg
cp Image.jpg $out
mv Image.jpg $out
''
else
pkgs.fetchurl { inherit url sha256; };