[xmonad] How to bind w,e,s,d keys for 4 screens?

wagnerdm at seas.upenn.edu wagnerdm at seas.upenn.edu
Fri Jul 10 14:28:09 EDT 2009


Quoting Alistair Gee <alistair.gee at gmail.com>:

>    [((m .|. modMask, key), screenWorkspace sc >>= flip whenJust  
> (windows . f))
>        | (key, sc) <- zip [xK_s, xK_d, xK_w, xK_e] [0..]
>        , (f, m) <- [(W.view, 0), (W.shift, shiftMask)]]

This code looks fine to me (though I'm a bit rusty, as I learned last  
night when I tried to actually write some code).  Are you sure xmonad  
is definitely loading your new config?  Does xmonad --recompile (on  
the command line) report any errors?  Does xmonad --restart work after  
that?

Cheers,
~d


More information about the xmonad mailing list