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)
-- | 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.
withNthWorkspace :: (String -> WindowSet -> WindowSet) -> Int -> X ()
withNthWorkspace job wnum = do

View File

@ -12,7 +12,7 @@
--
-- Configure layouts on a per-host basis: use layouts and apply
-- 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
@ -37,7 +37,7 @@ import System.Posix.Env (getEnv)
--
-- > 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"
-- > onHost "foo" l1 $ -- layout l1 will be used on host "foo".