From fe11b00948317af6f11bf17432bf4683694f2294 Mon Sep 17 00:00:00 2001 From: Andrea Rossato Date: Fri, 12 Oct 2007 12:04:16 +0200 Subject: Haddock fixes darcs-hash:20071012100416-32816-049c57f0dbc5d794db1b66295429ba6cd5b7b160.gz --- SwapWorkspaces.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'SwapWorkspaces.hs') diff --git a/SwapWorkspaces.hs b/SwapWorkspaces.hs index b792fd7..a6aff7e 100644 --- a/SwapWorkspaces.hs +++ b/SwapWorkspaces.hs @@ -12,7 +12,9 @@ -- each other, without having to move individual windows. -- -- TODO: add quickcheck props for: +-- -- * double swap invariant (guarantees no 'loss' of workspaces) +-- -- * non-swapped ws's invariant -- ----------------------------------------------------------------------------- @@ -28,13 +30,15 @@ import StackSet -- $usage -- Add this import to your Config.hs: +-- -- > import XMonadContrib.SwapWorkspaces -- -- Throw this in your keys definition: +-- -- > ++ -- > [((modMask .|. controlMask, k), windows $ swapWithCurrent i) -- > | (i, k) <- zip workspaces [xK_1 ..]] --- + -- %import XMonadContrib.SwapWorkspaces -- %keybindlist ++ -- %keybindlist [((modMask .|. controlMask, k), windows $ swapWithCurrent i) -- cgit v1.2.3