aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormail <mail@joachim-breitner.de>2007-10-07 10:32:16 +0200
committermail <mail@joachim-breitner.de>2007-10-07 10:32:16 +0200
commit5f6adec51d6c5c65b9f918f0882c57047080ee8f (patch)
treeaaced55148898961fe147abc1c42b22e78e3f2e3
parentdc8d1c63c72cbacc30864eb86b138b0d35871d39 (diff)
downloadXMonadContrib-5f6adec51d6c5c65b9f918f0882c57047080ee8f.tar.gz
XMonadContrib-5f6adec51d6c5c65b9f918f0882c57047080ee8f.tar.xz
XMonadContrib-5f6adec51d6c5c65b9f918f0882c57047080ee8f.zip
NextWorkspace haddock improvement
I just added to the docs how to move a window to the next workspace _and_ switch to that (by >>’ing the two actions). Some users (like me, it seems) probably prefer that behaviour. Greetings, Joachim darcs-hash:20071007083216-c9905-da2a046cc90d3712177f19f0e2a61ac736cbb664.gz
-rw-r--r--NextWorkspace.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/NextWorkspace.hs b/NextWorkspace.hs
index 8243a62..ae4f594 100644
--- a/NextWorkspace.hs
+++ b/NextWorkspace.hs
@@ -41,6 +41,12 @@ import {-# SOURCE #-} qualified Config (workspaces)
-- > , ((modMask, xK_Left), prevWorkspace)
-- > , ((modMask .|. shiftMask, xK_Right), shiftToNext)
-- > , ((modMask .|. shiftMask, xK_Left), shiftToPrev)
+--
+-- If you want to follow the moved window, you can use both actions:
+--
+-- > , ((modMask .|. shiftMask, xK_Right), shiftToNext >> nextWorkspace)
+-- > , ((modMask .|. shiftMask, xK_Left), shiftToPrev >> prevWorkspace)
+--
-- %import XMonadContrib.RotView
-- %keybind , ((modMask .|. shiftMask, xK_Right), rotView True)