aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Actions
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2007-12-22 06:04:39 +0100
committerSpencer Janssen <sjanssen@cse.unl.edu>2007-12-22 06:04:39 +0100
commit0a99440e52d872287b1add151c2608f089c45c5c (patch)
treec6a40d4bac13964240a59f2162f22856cdb21004 /XMonad/Actions
parentec481040cf268fac8f527a7946e3ca92de09278d (diff)
downloadXMonadContrib-0a99440e52d872287b1add151c2608f089c45c5c.tar.gz
XMonadContrib-0a99440e52d872287b1add151c2608f089c45c5c.tar.xz
XMonadContrib-0a99440e52d872287b1add151c2608f089c45c5c.zip
No more tabs
darcs-hash:20071222050439-a5988-7eb14f0e316b41ace318d1e4b92d15aaa3808c4d.gz
Diffstat (limited to 'XMonad/Actions')
-rw-r--r--XMonad/Actions/ConstrainedResize.hs6
-rw-r--r--XMonad/Actions/FlexibleManipulate.hs6
-rw-r--r--XMonad/Actions/FlexibleResize.hs6
-rw-r--r--XMonad/Actions/FocusNth.hs9
-rw-r--r--XMonad/Actions/MouseGestures.hs2
-rw-r--r--XMonad/Actions/RotSlaves.hs8
6 files changed, 19 insertions, 18 deletions
diff --git a/XMonad/Actions/ConstrainedResize.hs b/XMonad/Actions/ConstrainedResize.hs
index 7d0dc0b..a0a412c 100644
--- a/XMonad/Actions/ConstrainedResize.hs
+++ b/XMonad/Actions/ConstrainedResize.hs
@@ -16,9 +16,9 @@
-----------------------------------------------------------------------------
module XMonad.Actions.ConstrainedResize (
- -- * Usage
- -- $usage
- XMonad.Actions.ConstrainedResize.mouseResizeWindow
+ -- * Usage
+ -- $usage
+ XMonad.Actions.ConstrainedResize.mouseResizeWindow
) where
import XMonad
diff --git a/XMonad/Actions/FlexibleManipulate.hs b/XMonad/Actions/FlexibleManipulate.hs
index 4ef96df..083b661 100644
--- a/XMonad/Actions/FlexibleManipulate.hs
+++ b/XMonad/Actions/FlexibleManipulate.hs
@@ -17,9 +17,9 @@
-- Based on the FlexibleResize code by Lukas Mai (mauke).
module XMonad.Actions.FlexibleManipulate (
- -- * Usage
- -- $usage
- mouseWindow, discrete, linear, resize, position
+ -- * Usage
+ -- $usage
+ mouseWindow, discrete, linear, resize, position
) where
import XMonad
diff --git a/XMonad/Actions/FlexibleResize.hs b/XMonad/Actions/FlexibleResize.hs
index 2998592..cc99dcf 100644
--- a/XMonad/Actions/FlexibleResize.hs
+++ b/XMonad/Actions/FlexibleResize.hs
@@ -13,9 +13,9 @@
-----------------------------------------------------------------------------
module XMonad.Actions.FlexibleResize (
- -- * Usage
- -- $usage
- XMonad.Actions.FlexibleResize.mouseResizeWindow
+ -- * Usage
+ -- $usage
+ XMonad.Actions.FlexibleResize.mouseResizeWindow
) where
import XMonad
diff --git a/XMonad/Actions/FocusNth.hs b/XMonad/Actions/FocusNth.hs
index 8c140cd..af70dc7 100644
--- a/XMonad/Actions/FocusNth.hs
+++ b/XMonad/Actions/FocusNth.hs
@@ -38,12 +38,13 @@ focusNth :: Int -> X ()
focusNth = windows . modify' . focusNth'
focusNth' :: Int -> Stack a -> Stack a
-focusNth' n s@(Stack _ ls rs) | (n < 0) || (n > length(ls) + length(rs)) = s
- | otherwise = listToStack n (integrate s)
+focusNth' n s@(Stack _ ls rs) | (n < 0) || (n > length(ls) + length(rs)) = s
+ | otherwise = listToStack n (integrate s)
listToStack :: Int -> [a] -> Stack a
listToStack n l = Stack t ls rs
- where (t:rs) = drop n l
- ls = reverse (take n l)
+ where
+ (t:rs) = drop n l
+ ls = reverse (take n l)
diff --git a/XMonad/Actions/MouseGestures.hs b/XMonad/Actions/MouseGestures.hs
index 38cecf6..241a063 100644
--- a/XMonad/Actions/MouseGestures.hs
+++ b/XMonad/Actions/MouseGestures.hs
@@ -15,7 +15,7 @@
module XMonad.Actions.MouseGestures (
-- * Usage
-- $usage
- Direction(..),
+ Direction(..),
mouseGesture
) where
diff --git a/XMonad/Actions/RotSlaves.hs b/XMonad/Actions/RotSlaves.hs
index d565f52..f6a978d 100644
--- a/XMonad/Actions/RotSlaves.hs
+++ b/XMonad/Actions/RotSlaves.hs
@@ -12,10 +12,10 @@
-- place.
-----------------------------------------------------------------------------
module XMonad.Actions.RotSlaves (
- -- $usage
- rotSlaves', rotSlavesUp, rotSlavesDown,
- rotAll', rotAllUp, rotAllDown
- ) where
+ -- $usage
+ rotSlaves', rotSlavesUp, rotSlavesDown,
+ rotAll', rotAllUp, rotAllDown
+ ) where
import XMonad.StackSet
import XMonad