diff options
author | Andrea Rossato <andrea.rossato@unibz.it> | 2007-10-12 12:04:16 +0200 |
---|---|---|
committer | Andrea Rossato <andrea.rossato@unibz.it> | 2007-10-12 12:04:16 +0200 |
commit | fe11b00948317af6f11bf17432bf4683694f2294 (patch) | |
tree | a3be3ad65c05ffcd34ffa61ca208f27198e5926e /SwapWorkspaces.hs | |
parent | 2f71ea564022ea66b4c1863b4a980e76c5cae0d2 (diff) | |
download | XMonadContrib-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.hs | 6 |
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) |