Minor haddock formatting for X.L.OnHost and X.A.DynamicWorkspaceOrder

This commit is contained in:
Adam Vogt 2012-04-28 19:45:52 +00:00
parent 1a735f04e3
commit f09a61f5f5
2 changed files with 7 additions and 7 deletions

View File

@ -167,7 +167,7 @@ shiftTo :: Direction1D -> WSType -> X ()
shiftTo dir t = doTo dir t getSortByOrder (windows . W.shift) shiftTo dir t = doTo dir t getSortByOrder (windows . W.shift)
-- | Do something with the nth workspace in the dynamic order. The -- | Do something with the nth workspace in the dynamic order. The
-- callback is given the workspace's tag as well as the @WindowSet@ -- callback is given the workspace's tag as well as the 'WindowSet'
-- of the workspace itself. -- of the workspace itself.
withNthWorkspace :: (String -> WindowSet -> WindowSet) -> Int -> X () withNthWorkspace :: (String -> WindowSet -> WindowSet) -> Int -> X ()
withNthWorkspace job wnum = do withNthWorkspace job wnum = do

View File

@ -12,7 +12,7 @@
-- --
-- Configure layouts on a per-host basis: use layouts and apply -- Configure layouts on a per-host basis: use layouts and apply
-- layout modifiers selectively, depending on the host. Heavily based on -- layout modifiers selectively, depending on the host. Heavily based on
-- XMonad.Layout.PerWorkspace by Brent Yorgey. -- "XMonad.Layout.PerWorkspace" by Brent Yorgey.
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
module XMonad.Layout.OnHost (-- * Usage module XMonad.Layout.OnHost (-- * Usage
@ -37,12 +37,12 @@ import System.Posix.Env (getEnv)
-- --
-- > import XMonad.Layout.OnHost -- > import XMonad.Layout.OnHost
-- --
-- and modifying your layoutHook as follows (for example): -- and modifying your 'layoutHook' as follows (for example):
-- --
-- > layoutHook = modHost "baz" m1 $ -- apply layout modifier m1 to all layouts on host "baz" -- > layoutHook = modHost "baz" m1 $ -- apply layout modifier m1 to all layouts on host "baz"
-- > onHost "foo" l1 $ -- layout l1 will be used on host "foo". -- > onHost "foo" l1 $ -- layout l1 will be used on host "foo".
-- > onHosts ["bar","quux"] l2 $ -- layout l2 will be used on hosts "bar" and "quux". -- > onHosts ["bar","quux"] l2 $ -- layout l2 will be used on hosts "bar" and "quux".
-- > l3 -- layout l3 will be used on all other hosts. -- > l3 -- layout l3 will be used on all other hosts.
-- --
-- Note that @l1@, @l2@, and @l3@ can be arbitrarily complicated -- Note that @l1@, @l2@, and @l3@ can be arbitrarily complicated
-- layouts, e.g. @(Full ||| smartBorders $ tabbed shrinkText -- layouts, e.g. @(Full ||| smartBorders $ tabbed shrinkText