Commit Graph

74 Commits

Author SHA1 Message Date
Don Stewart
e9597b4899 Change semantics of 'promote'.
Previously 'promote' would move the currently focused window into the
master position in tiled mode. This was *almost* a cycle of the windows,
but not quite (depending on where the focus was, it was in fact a
cycle).

Now we do the obvious generalisation, and just cycle the current window
stack. Simpler to understand, simpler to reason about.
2007-04-11 07:34:56 +00:00
Don Stewart
c490333d12 Statically distinguish Workspace and Screen indices 2007-04-11 06:04:56 +00:00
Spencer Janssen
be223c35f4 Move workspace fetching logic from Config.hs to Operations.hs 2007-04-10 06:47:14 +00:00
Jason Creighton
0c95f0c143 moved screen <-> workspace mapping from XMonad to StackSet 2007-04-10 06:27:31 +00:00
Don Stewart
89dbd331dc summarise key bindings in a table in Config.hs 2007-04-04 01:14:41 +00:00
Spencer Janssen
3a592d2df8 Use Tall and Wide for split screen layouts. This should be less confusing. 2007-04-03 05:06:10 +00:00
Alec Berryman
8c58c998db Comment typo: more -> move 2007-04-02 22:19:48 +00:00
Spencer Janssen
93be71bb88 Revert to the old layout code. 2007-04-02 04:51:14 +00:00
Alec Berryman
8d1deb69eb Type error: lockMask :: KeyMask, not KeySym
Error prevents compilation on 64-bit systems.
2007-04-01 14:34:16 +00:00
Alec Berryman
14282027e6 Suggest an alternative modMask for emacs users 2007-04-01 16:10:27 +00:00
Jason Creighton
b4076c2ac2 Config.hs comment formatting/typo 2007-04-01 05:57:11 +00:00
Don Stewart
bb1c1cf062 sanitize key bindings
Changes mean:

* gmrun is like the dmenu key, but with shift set. 
    -    , ((modMask .|. shiftMask, xK_F11   ), spawn "gmrun")
    +    , ((modMask .|. shiftMask, xK_p     ), spawn "gmrun")

 If no one actually uses both gmrun and dmenu, we should consider only
 using mod-p for this.

* restart is like quit, but with 'ctrl' set:
    +    , ((modMask .|. shiftMask, xK_q                     ), io $ exitWith ExitSuccess)
    +    , ((modMask .|. shiftMask .|. controlMask, xK_q     ), io restart)

* revert to 'wer' ordering for xinerama screens:
    -        | (key, sc) <- zip [xK_e, xK_r, xK_t] [1..]
    +        | (key, sc) <- zip [xK_w, xK_e, xK_r] [1..]

that's the only binding order that makes sense, since they're meant to
refer to screens 1 2 and 3, hence 'wer' (look at the keyboard to see why)
2007-04-01 03:35:22 +00:00
Don Stewart
cf91d8aa53 restore dwm-style keybindings. mod-shift-{j,k} resize in vert mode 2007-04-01 02:54:33 +00:00
hughes
1909c353b7 Merged things together with dons changes. 2007-04-01 02:18:46 +00:00
hughes
1768981f90 Config.hs avoids conflict with essential M-w Emacs shortcut. 2007-04-01 01:51:35 +00:00
hughes
10a0e21e00 Vertical/horizontal split, and resizability. 2007-04-01 01:47:06 +00:00
hughes
75187c4b41 Remove evil gmrun shortcut. 2007-03-30 14:45:58 +00:00
Don Stewart
b3dbe98e64 formatting only 2007-04-01 00:47:26 +00:00
Jason Creighton
ec38d07940 whitespace 2007-03-27 01:33:50 +00:00
hughes
79d64f2b19 Config supports Ctrl+Space for gmrun again. 2007-03-26 15:12:43 +00:00
hughes
4fc3448186 Workspace-specific layouts 2007-03-26 15:02:13 +00:00
Alec Berryman
bffb0126e0 Typo: use dmenu_path instead of emenu_path 2007-03-26 14:03:35 +00:00
daniel
cb4e6d86a1 Extra config: defaultLayout 2007-03-26 07:42:34 +00:00
Jason Creighton
bfae1e5cb6 Config.lhs -> Config.hs 2007-03-26 05:40:04 +00:00