mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 20:21:51 -07:00
Docs: use myLayout like template rather than plural
Despite myLayouts currently being more popular in examples, make them all myLayout as in man/xmonad.hs to avoid mixing them in the same module as was done a few places, leading to confusion for some users.
This commit is contained in:
@@ -38,8 +38,8 @@ import Control.Monad
|
||||
--
|
||||
-- Then edit your @layoutHook@ by adding the ThreeCol layout:
|
||||
--
|
||||
-- > myLayouts = ThreeCol 1 (3/100) (1/2) ||| ThreeColMid 1 (3/100) (1/2) ||| etc..
|
||||
-- > main = xmonad defaultConfig { layoutHook = myLayouts }
|
||||
-- > myLayout = ThreeCol 1 (3/100) (1/2) ||| ThreeColMid 1 (3/100) (1/2) ||| etc..
|
||||
-- > main = xmonad defaultConfig { layoutHook = myLayout }
|
||||
--
|
||||
-- The first argument specifies how many windows initially appear in the main
|
||||
-- window. The second argument argument specifies the amount to resize while
|
||||
|
Reference in New Issue
Block a user