mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
PerWorkspace.hs: minor haddock fixes
Also, we don't need to add those docstring annotation (%...), since that system is not used anymore.
This commit is contained in:
parent
31cebf1b0a
commit
6b17a40677
@ -45,11 +45,6 @@ import Data.Maybe (fromMaybe)
|
|||||||
-- layout D instead of C. You could do that as follows:
|
-- layout D instead of C. You could do that as follows:
|
||||||
--
|
--
|
||||||
-- > layoutHook = A ||| B ||| onWorkspace "foo" D C
|
-- > layoutHook = A ||| B ||| onWorkspace "foo" D C
|
||||||
--
|
|
||||||
|
|
||||||
-- %import XMonad.Layout.PerWorkspace
|
|
||||||
-- %layout onWorkspace "foo" l1 l2 $ -- l1 used on workspace foo,
|
|
||||||
-- %layout -- l2 used on all others.
|
|
||||||
|
|
||||||
-- | Specify one layout to use on a particular workspace, and another
|
-- | Specify one layout to use on a particular workspace, and another
|
||||||
-- to use on all others. The second layout can be another call to
|
-- to use on all others. The second layout can be another call to
|
||||||
@ -63,7 +58,7 @@ onWorkspace wsId l1 l2 = PerWorkspace wsId Nothing l1 l2
|
|||||||
|
|
||||||
-- | Structure for representing a workspace-specific layout along with
|
-- | Structure for representing a workspace-specific layout along with
|
||||||
-- a layout for all other workspaces. We store the tag of the workspace
|
-- a layout for all other workspaces. We store the tag of the workspace
|
||||||
-- to be matched, and the two layouts. Since layouts are stored/tracked
|
-- to be matched, and the two layouts. Since layouts are stored\/tracked
|
||||||
-- per workspace, once we figure out which workspace we are on, we can
|
-- per workspace, once we figure out which workspace we are on, we can
|
||||||
-- cache that information using a (Maybe Bool). This is necessary
|
-- cache that information using a (Maybe Bool). This is necessary
|
||||||
-- to be able to correctly implement the 'description' method of
|
-- to be able to correctly implement the 'description' method of
|
||||||
|
Loading…
x
Reference in New Issue
Block a user