[xmonad] Basic configuration : Config.Gnome + some more keys

wagnerdm at seas.upenn.edu wagnerdm at seas.upenn.edu
Mon Sep 14 17:19:17 EDT 2009


The default configuration already has most of those keybindings!  Try this.
~d

import XMonad
import XMonad.Config.Gnome
import XMonad.Actions.CycleWS
import XMonad.Util.EZConfig
import qualified XMonad.StackSet as S

main = do
    xmonad $ gnomeConfig
      { modMask = mod4Mask
      } `additionalKeys`
      [ ((mod4Mask,               xK_Left  ), prevWS )
      , ((mod4Mask,               xK_Right ), nextWS )
      , ((mod4Mask .|. shiftMask, xK_Left  ), shiftToPrev )
      , ((mod4Mask .|. shiftMask, xK_Right ), shiftToNext )
      ]


More information about the xmonad mailing list