mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
Minor haddock formatting for X.L.OnHost and X.A.DynamicWorkspaceOrder
This commit is contained in:
parent
1a735f04e3
commit
f09a61f5f5
@ -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
|
||||
|
@ -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".
|
||||
|
Loading…
x
Reference in New Issue
Block a user