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