mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
TwoPane: haddock docs
This commit is contained in:
parent
33bca8260f
commit
8682f617d0
@ -27,17 +27,18 @@ import XMonad.Layouts ( Resize(..), splitHorizontallyBy )
|
|||||||
import XMonad.StackSet ( focus, up, down)
|
import XMonad.StackSet ( focus, up, down)
|
||||||
|
|
||||||
-- $usage
|
-- $usage
|
||||||
--
|
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
|
||||||
-- You can use this module with the following in your Config.hs file:
|
|
||||||
--
|
--
|
||||||
-- > import XMonad.Layout.TwoPane
|
-- > import XMonad.Layout.TwoPane
|
||||||
--
|
--
|
||||||
-- and add, to the list of layouts:
|
-- Then edit your @layoutHook@ by adding the TwoPane layout:
|
||||||
--
|
--
|
||||||
-- > , (Layout $ TwoPane 0.03 0.5)
|
-- > myLayouts = TwoPane (3/100) (1/2) ||| Full ||| etc..
|
||||||
|
-- > main = xmonad dafaultConfig { layoutHook = myLayouts }
|
||||||
-- %import XMonad.Layout.TwoPane
|
--
|
||||||
-- %layout , (Layout $ TwoPane 0.03 0.5)
|
-- For more detailed instructions on editing the layoutHook see:
|
||||||
|
--
|
||||||
|
-- "XMonad.Doc.Extending#Editing_the_layout_hook"
|
||||||
|
|
||||||
data TwoPane a =
|
data TwoPane a =
|
||||||
TwoPane Rational Rational
|
TwoPane Rational Rational
|
||||||
|
Loading…
x
Reference in New Issue
Block a user