I know how to associate specific applications with specific workspaces using manageHook and composeAll. What I'm looking for is a way to spawn applications on specific workspaces, i.e. a function with type signature
String -> workSpaceId -> X () whose example use would be something like:
spawnToWorkspace "emacs" "2:code"