aboutsummaryrefslogtreecommitdiffstats
path: root/SwapWorkspaces.hs
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2007-10-12 12:04:16 +0200
committerAndrea Rossato <andrea.rossato@unibz.it>2007-10-12 12:04:16 +0200
commitfe11b00948317af6f11bf17432bf4683694f2294 (patch)
treea3be3ad65c05ffcd34ffa61ca208f27198e5926e /SwapWorkspaces.hs
parent2f71ea564022ea66b4c1863b4a980e76c5cae0d2 (diff)
downloadXMonadContrib-fe11b00948317af6f11bf17432bf4683694f2294.tar.gz
XMonadContrib-fe11b00948317af6f11bf17432bf4683694f2294.tar.xz
XMonadContrib-fe11b00948317af6f11bf17432bf4683694f2294.zip
Haddock fixes
darcs-hash:20071012100416-32816-049c57f0dbc5d794db1b66295429ba6cd5b7b160.gz
Diffstat (limited to 'SwapWorkspaces.hs')
-rw-r--r--SwapWorkspaces.hs6
1 files changed, 5 insertions, 1 deletions
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)