From: Simon Ruderich Date: Mon, 13 Jul 2009 13:16:57 +0000 (+0200) Subject: xmonad.hs: Spawn some programs on specific workspaces. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=670c8245b07f95ac6e99da7bfc5f5eb45e8efbff;p=config%2Fdotfiles.git xmonad.hs: Spawn some programs on specific workspaces. --- diff --git a/xmonad.hs b/xmonad.hs index 67d9775..25fa9a1 100644 --- a/xmonad.hs +++ b/xmonad.hs @@ -43,7 +43,13 @@ myLayoutHook = smartBorders $ reflectVert $ Mirror tiled ||| Full -- 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