xmonad-contrib-0.5: Third party extensions for xmonadSource codeContentsIndex
XMonad.Layout.Spiral
Portabilityportable
Stabilitystable
MaintainerJoe Thornber <joe.thornber@gmail.com>
Contents
Usage
Description
Spiral adds a spiral tiling layout
Synopsis
spiral :: Rational -> SpiralWithDir a
spiralWithDir :: Direction -> Rotation -> Rational -> SpiralWithDir a
data Rotation
= CW
| CCW
data Direction
= East
| South
| West
| North
Usage

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

 import XMonad.Layout.Spiral
 import Data.Ratio

Then edit your layoutHook by adding the Spiral layout:

 myLayouts =  spiral (1 % 1) ||| etc..
 main = xmonad defaultConfig { layoutHook = myLayouts }

For more detailed instructions on editing the layoutHook see:

XMonad.Doc.Extending#Editing_the_layout_hook

spiral :: Rational -> SpiralWithDir aSource
spiralWithDir :: Direction -> Rotation -> Rational -> SpiralWithDir aSource
data Rotation Source
Constructors
CW
CCW
show/hide Instances
data Direction Source
Constructors
East
South
West
North
show/hide Instances
Produced by Haddock version 2.3.0