Created
June 26, 2010 13:30
-
-
Save zoranzaric/454047 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import XMonad | |
import XMonad.Config.Gnome | |
import qualified XMonad.StackSet as W | |
import XMonad.Util.EZConfig | |
myManageHook = | |
composeAll [ | |
resource =? "Do" --> doIgnore, | |
resource =? "key-mon" --> doIgnore | |
] | |
myWorkspaces = ["firefox","thunderbird","pidgin","four","five","six","seven","eight","nine"] | |
main = xmonad $ gnomeConfig | |
{ manageHook = manageHook gnomeConfig <+> myManageHook | |
, workspaces = myWorkspaces | |
, modMask = mod4Mask | |
, borderWidth = 2 | |
, terminal = "urxvt" | |
} | |
`additionalKeysP` | |
( | |
[ | |
("M-<Space>", spawn "gnome-do" ) | |
, ("M-n", sendMessage NextLayout ) | |
] | |
++ -- important since ff. is a list itself, can't just put inside above list | |
[(otherModMasks ++ "M-" ++ [key], action tag) | |
| (tag, key) <- zip myWorkspaces "zuiop6789" | |
, (otherModMasks, action) <- [("", windows . W.view) -- was W.greedyView | |
, ("S-", windows . W.shift)] | |
] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment