Portability | portable |
---|---|
Stability | stable |
Maintainer | Joe Thornber <joe.thornber@gmail.com> |
A spiral tiling layout.
Usage
You can use this module with the following in your ~/.xmonad/xmonad.hs
:
import XMonad.Layout.Spiral
Then edit your layoutHook
by adding the Spiral layout:
myLayout = spiral (6/7) ||| etc.. main = xmonad defaultConfig { layoutHook = myLayout }
For more detailed instructions on editing the layoutHook see:
spiral :: Rational -> SpiralWithDir aSource
A spiral layout. The parameter controls the size ratio between successive windows in the spiral. Sensible values range from 0 up to the aspect ratio of your monitor (often 4/3).
By default, the spiral is counterclockwise, starting to the east.
See also spiralWithDir
.
spiralWithDir :: Direction -> Rotation -> Rational -> SpiralWithDir aSource
Create a spiral layout, specifying the starting cardinal direction, the spiral direction (clockwise or counterclockwise), and the size ratio.