-- Don't spawn new windows in the master pane (which is now at the bottom of
-- the screen). Thanks to dschoepe, aavogt and especially vav in #xmonad on
-- Freenode (2009-06-30 02:10f).
-myManageHook = doF avoidMaster
+--
+-- Also some applications are spawned on specific workspaces. Thanks to
+-- dschoepe and ivanm in #xmonad on Freenode (2009-07-12 14:50).
+myManageHook = composeAll
+ [ className =? "Iceweasel" --> doF (W.shift "2")
+ , className =? "Wireshark" --> doF (W.shift "3")
+ ] <+> doF avoidMaster
main = xmonad $ defaultConfig
-- Use Windows key as main key so it doesn't conflict with any other key