Select a window a move it to a workspace

wmctrl

wmctrl -r {{window_title}} -t {{workspace_number}}

click the source code to copy install wmctrl on any operating system with command-not-found.com