realwallpaper: archive old wallpapers

This commit is contained in:
lassulus 2020-03-31 17:26:28 +02:00
parent 07592647d1
commit 5c6e007dbe

View file

@ -266,6 +266,8 @@ pkgs.writers.writeDashBin "generate-wallpaper" ''
convert xplanet-krebs-output.png -crop $out_geometry \
realwallpaper-krebs-tmp.png
mv realwallpaper-krebs-tmp.png realwallpaper-krebs.png
mkdir -p archive
convert realwallpaper-krebs.png archive/"$(date -Is)".jpg
fi
}