RotSlaves: haddock tuning

This commit is contained in:
Andrea Rossato 2007-08-18 08:33:06 +00:00
parent 01b4e6f9bf
commit 840c18cb0a

View File

@ -28,12 +28,11 @@ import XMonad
-- --
-- and add a keybinding: -- and add a keybinding:
-- --
-- , ((modMask .|. shiftMask, xK_Tab ), rotSlavesUp) -- > , ((modMask .|. shiftMask, xK_Tab ), rotSlavesUp)
-- --
-- --
-- This operation will rotate all windows except the master window, while the focus -- This operation will rotate all windows except the master window, while the focus
-- stays where it is. It is usefull together with the TwoPane-Layout (see XMonadContrib.TwoPane). -- stays where it is. It is usefull together with the TwoPane-Layout (see XMonadContrib.TwoPane).
--
rotSlavesUp,rotSlavesDown :: X () rotSlavesUp,rotSlavesDown :: X ()
rotSlavesUp = windows $ modify' (rotSlaves' (\l -> (tail l)++[head l])) rotSlavesUp = windows $ modify' (rotSlaves' (\l -> (tail l)++[head l]))