From 670c8245b07f95ac6e99da7bfc5f5eb45e8efbff Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 13 Jul 2009 15:16:57 +0200 Subject: [PATCH] xmonad.hs: Spawn some programs on specific workspaces. --- xmonad.hs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.44.1