1 2 3 4 5 6 7 8 9
#!/bin/sh sleep 2 # Get currently loaded image IMG=`cat /tmp/$USER-desktop-anim | tail -n1` # Load it for the monitors swww img $IMG -o $1