xmonad-contrib-bluetilebranch- Third party extensions for xmonadSource codeContentsIndex
MaintainerLuis Cabellos <zhen.sydow@gmail.com>
A Cross Layout with the main window in the center.
simpleCross :: Cross a
data Cross a = Cross {
crossProp :: !Rational
crossInc :: !Rational

You can use this module with the following in your ~/.xmonad/xmonad.hs:

 import XMonad.Layout.Cross

Then edit your layoutHook by adding one of the Cross layouts:

 myLayouts =  simpleCross ||| etc..
 main = xmonad defaultConfig { layoutHook = myLayouts }
simpleCross :: Cross aSource
A simple Cross Layout. It places the focused window in the center. The proportion of the screen used by the main window is 4/5.
data Cross a Source

The Cross Layout draws the focused window in the center of the screen and part of the other windows on the sides. The Shrink and Expand messages increment the size of the main window.

The focus keybindings change the center window, while other windows cycle through the side positions. With the Cross layout only four windows are shown around the focused window, two ups and two downs, no matter how many are in the current stack. I.e. focus down cycles the window below focused into the center; focus up cycles the window above.

crossProp :: !RationalProportion of screen occupied by the main window.
crossInc :: !RationalPercent of main window to increment by when resizing.
show/hide Instances
Produced by Haddock version 2.4.2