Default [Q] Change wallpaper through shell script

Hi all,

I would like to create a script that changes my wallpaper, so I can access the script with a shortcut (through script manager) to change my wallpaper to a certain picture whenever I want.

I brew a script that does this:

mv /data/system/users/0/wallpaper /data/system/users/0/wallpaper_old
mv /data/system/users/0/wallpaper_new /data/system/users/0/wallpaper

mv /data/system/users/0/wallpaper/wallpaper_info.xml /data/system/users/0/wallpaper_info_old.xml
mv /data/system/users/0/wallpaper_info_new.xml /data/system/users/0/wallpaper/wallpaper_info.xml
It replaces the wallpaper file as expected, although it doesn't get updated in the launcher, so I should probably update the wallpaper in a different way.. Any ideas?
Thanks in advance!