aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vogt <vogt.adam@gmail.com>2012-04-28 21:45:52 +0200
committerAdam Vogt <vogt.adam@gmail.com>2012-04-28 21:45:52 +0200
commit210e51e2f9a0758ea15977209e277dd690957f31 (patch)
treee0b64ca1d474261ea263a5bfc18f4d162baf817c
parent4d4213405d3a3fcfc1a84920cba9fe5a2b2b1d2a (diff)
downloadXMonadContrib-210e51e2f9a0758ea15977209e277dd690957f31.tar.gz
XMonadContrib-210e51e2f9a0758ea15977209e277dd690957f31.tar.xz
XMonadContrib-210e51e2f9a0758ea15977209e277dd690957f31.zip
Minor haddock formatting for X.L.OnHost and X.A.DynamicWorkspaceOrder
Ignore-this: 843ec567e249cc96d51ca931f1e36514 darcs-hash:20120428194552-1499c-86afac9105d38cb89e72661bdb2c177b0f3baf1f.gz
-rw-r--r--XMonad/Actions/DynamicWorkspaceOrder.hs2
-rw-r--r--XMonad/Layout/OnHost.hs12
2 files changed, 7 insertions, 7 deletions
diff --git a/XMonad/Actions/DynamicWorkspaceOrder.hs b/XMonad/Actions/DynamicWorkspaceOrder.hs
index 75f16ee..b7142d8 100644
--- a/XMonad/Actions/DynamicWorkspaceOrder.hs
+++ b/XMonad/Actions/DynamicWorkspaceOrder.hs
@@ -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
diff --git a/XMonad/Layout/OnHost.hs b/XMonad/Layout/OnHost.hs
index f69bbb3..bb4976f 100644
--- a/XMonad/Layout/OnHost.hs
+++ b/XMonad/Layout/OnHost.hs
@@ -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,12 +37,12 @@ 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".
--- > onHosts ["bar","quux"] l2 $ -- layout l2 will be used on hosts "bar" and "quux".
--- > l3 -- layout l3 will be used on all other hosts.
+-- > 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".
+-- > onHosts ["bar","quux"] l2 $ -- layout l2 will be used on hosts "bar" and "quux".
+-- > l3 -- layout l3 will be used on all other hosts.
--
-- Note that @l1@, @l2@, and @l3@ can be arbitrarily complicated
-- layouts, e.g. @(Full ||| smartBorders $ tabbed shrinkText