title: XMonad spawn programs on startup in specified workspace
body: <p>I am trying to configure my <code>xmonad.hs</code> so that when I start my session I start an array of different programs on different workspaces (like Terminal in 1 ; Firefox in 2 ; Pidgin in 3).</p>
  
  <p>I already looked into the <code>XMonad.Actions.SpawnOn</code>, but as <code>spawnOn</code> returns with an <code>X ()</code> and not with a common <code>m ()</code> I can not use it in <code>main = do ...</code>.</p>
  
  <p>Is there a function that takes an <code>X</code>-monad and returns with <code>IO ()</code> or is there another workaround?</p>