mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-01 12:41:52 -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:
@@ -45,8 +45,8 @@ import XMonad.Util.WindowProperties
|
||||
-- for managing your chat windows (Grid in this example, another useful choice
|
||||
-- to consider is Tabbed layout).
|
||||
--
|
||||
-- > myLayouts = withIM (1%7) (ClassName "Tkabber") Grid ||| Full ||| etc..
|
||||
-- > main = xmonad defaultConfig { layoutHook = myLayouts }
|
||||
-- > myLayout = withIM (1%7) (ClassName "Tkabber") Grid ||| Full ||| etc..
|
||||
-- > main = xmonad defaultConfig { layoutHook = myLayout }
|
||||
--
|
||||
-- Here @1%7@ is the part of the screen which your roster will occupy,
|
||||
-- @ClassName \"Tkabber\"@ tells xmonad which window is actually your roster.
|
||||
|
Reference in New Issue
Block a user