ofc you may schedule it with cron but following script I wrote won’t change anything. The setting is set but nothing changes. I’m on Fedora Silverblue
edit:
solution
wallpath=/usr/local/share/backgrounds/Dynamic_Wallpapers
image=$(find $wallpath -name "*.xml" | grep -E xml | sort -R | tail -1)
image="file:///$image"
echo $image
gsettings set org.gnome.desktop.background picture-uri "$image"
gsettings set org.gnome.desktop.background picture-uri-dark "$image"
and crontab
@daily ~/wallpaper_changer.sh
@reboot ~/wallpaper_changer.sh
Are ypu dead set on using xml or did you want to try a Wallpaper app like Variety?
Dynamic wallpapers are cool