You can use wmctrl and xdotool to do it, you use window=$(printf '0x0%x' $(xdotool getwindowfocus))
to get the focused window, and then you move it with wmctrl.
Here is some info on how to work with the window
https://forum.qubes-os.org/t/controlling-xfce-windows-with-wmctrl/22299
https://forum.qubes-os.org/t/tiling-xfce-windows-with-shortcut-keys/22840