mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
doco fix: s/SomeLayout/Layout/g
This commit is contained in:
parent
a85718506b
commit
0927815c14
@ -25,11 +25,11 @@ import StackSet
|
||||
|
||||
-- $usage
|
||||
-- > import XMonadContrib.MagicFocus
|
||||
-- > defaultLayouts = [ SomeLayout $ MagicFocus tiled , SomeLayout $ MagicFocus $ Mirror tiled ]
|
||||
-- > defaultLayouts = [ Layout $ MagicFocus tiled , Layout $ MagicFocus $ Mirror tiled ]
|
||||
|
||||
-- %import XMonadContrib.MagicFocus
|
||||
-- %layout , SomeLayout $ MagicFocus tiled
|
||||
-- %layout , SomeLayout $ MagicFocus $ Mirror tiled
|
||||
-- %layout , Layout $ MagicFocus tiled
|
||||
-- %layout , Layout $ MagicFocus $ Mirror tiled
|
||||
|
||||
|
||||
data MagicFocus l a = MagicFocus (l a) deriving ( Show , Read )
|
||||
|
@ -43,7 +43,7 @@ import Graphics.X11.Types ( Window )
|
||||
-- > import XMonadContrib.MosaicAlt
|
||||
--
|
||||
-- > defaultLayouts = ...
|
||||
-- > , SomeLayout $ MosaicAlt M.empty
|
||||
-- > , Layout $ MosaicAlt M.empty
|
||||
-- > ...
|
||||
--
|
||||
-- > keys = ...
|
||||
@ -55,7 +55,7 @@ import Graphics.X11.Types ( Window )
|
||||
-- > ...
|
||||
|
||||
-- %import XMonadContrib.MosaicAlt
|
||||
-- %layout , SomeLayout $ MosaicAlt M.empty
|
||||
-- %layout , Layout $ MosaicAlt M.empty
|
||||
|
||||
data HandleWindowAlt =
|
||||
ShrinkWindowAlt Window
|
||||
|
@ -44,11 +44,11 @@ import XMonadContrib.XUtils
|
||||
--
|
||||
-- > import XMonadContrib.Tabbed
|
||||
--
|
||||
-- > defaultLayouts :: [(String, SomeLayout Window)]
|
||||
-- > defaultLayouts = [SomeLayout tiled
|
||||
-- > ,SomeLayout $ Mirror tiled
|
||||
-- > defaultLayouts :: [(String, Layout Window)]
|
||||
-- > defaultLayouts = [Layout tiled
|
||||
-- > ,Layout $ Mirror tiled
|
||||
-- > -- Extension-provided layouts
|
||||
-- > ,SomeLayout $ tabbed shrinkText defaultTConf)
|
||||
-- > ,Layout $ tabbed shrinkText defaultTConf)
|
||||
-- > , ... ]
|
||||
--
|
||||
-- You can also edit the default configuration options.
|
||||
|
@ -39,7 +39,7 @@ import XMonadContrib.XUtils
|
||||
--
|
||||
-- > import XMonadContrib.WindowNavigation
|
||||
-- >
|
||||
-- > defaultLayout = SomeLayout $ windowNavigation defaultWNConfig $ LayoutSelection ...
|
||||
-- > defaultLayout = Layout $ windowNavigation defaultWNConfig $ LayoutSelection ...
|
||||
--
|
||||
-- In keybindings:
|
||||
--
|
||||
@ -59,7 +59,7 @@ import XMonadContrib.XUtils
|
||||
-- %keybind , ((modMask .|. controlMask, xK_Down), sendMessage $ Swap D)
|
||||
-- %layout -- include 'windowNavigation' in defaultLayout definition above.
|
||||
-- %layout -- just before the list, like the following (don't uncomment next line):
|
||||
-- %layout -- defaultLayout = SomeLayout $ windowNavigation defaultWNConfig $ ...
|
||||
-- %layout -- defaultLayout = Layout $ windowNavigation defaultWNConfig $ ...
|
||||
|
||||
|
||||
data Navigate = Go Direction | Swap Direction deriving ( Read, Show, Typeable )
|
||||
|
Loading…
x
Reference in New Issue
Block a user