From eb322f0b8993fea56dd05124155ff1773fe5103b Mon Sep 17 00:00:00 2001 From: Brent Yorgey Date: Sat, 24 Nov 2007 03:26:35 +0100 Subject: Haddock docs: modMask --> modMask x darcs-hash:20071124022635-bd4d7-16491e97f6ddf5d1a467379296696d6b26bd2721.gz --- XMonad/Actions/Commands.hs | 2 +- XMonad/Actions/ConstrainedResize.hs | 4 ++-- XMonad/Actions/CopyWindow.hs | 4 ++-- XMonad/Actions/CycleWS.hs | 14 +++++++------- XMonad/Actions/DeManage.hs | 2 +- XMonad/Actions/DwmPromote.hs | 2 +- XMonad/Actions/FindEmptyWorkspace.hs | 4 ++-- XMonad/Actions/FlexibleManipulate.hs | 2 +- XMonad/Actions/FlexibleResize.hs | 2 +- XMonad/Actions/FloatKeys.hs | 10 +++++----- 10 files changed, 23 insertions(+), 23 deletions(-) diff --git a/XMonad/Actions/Commands.hs b/XMonad/Actions/Commands.hs index 807a19c..7daccfe 100644 --- a/XMonad/Actions/Commands.hs +++ b/XMonad/Actions/Commands.hs @@ -44,7 +44,7 @@ import Data.Maybe -- -- Then add a keybinding to the runCommand action: -- --- > , ((modMask .|. controlMask, xK_y), runCommand commands) +-- > , ((modMask x .|. controlMask, xK_y), runCommand commands) -- -- and define the list of commands you want to use: -- diff --git a/XMonad/Actions/ConstrainedResize.hs b/XMonad/Actions/ConstrainedResize.hs index 3dd1569..1d0922d 100644 --- a/XMonad/Actions/ConstrainedResize.hs +++ b/XMonad/Actions/ConstrainedResize.hs @@ -34,8 +34,8 @@ import Graphics.X11.Xlib.Extras -- -- Then add something like the following to your mouse bindings: -- --- > , ((modMask, button3), (\w -> focus w >> Sqr.mouseResizeWindow w False)) --- > , ((modMask .|. shiftMask, button3), (\w -> focus w >> Sqr.mouseResizeWindow w True )) +-- > , ((modMask x, button3), (\w -> focus w >> Sqr.mouseResizeWindow w False)) +-- > , ((modMask x .|. shiftMask, button3), (\w -> focus w >> Sqr.mouseResizeWindow w True )) -- -- The line without the shiftMask replaces the standard mouse resize -- function call, so it's not completely necessary but seems neater diff --git a/XMonad/Actions/CopyWindow.hs b/XMonad/Actions/CopyWindow.hs index f603415..17b5821 100644 --- a/XMonad/Actions/CopyWindow.hs +++ b/XMonad/Actions/CopyWindow.hs @@ -39,14 +39,14 @@ import XMonad.StackSet -- > -- mod-[1..9] @@ Switch to workspace N -- > -- mod-shift-[1..9] @@ Move client to workspace N -- > -- mod-control-shift-[1..9] @@ Copy client to workspace N --- > [((m .|. modMask, k), f i) +-- > [((m .|. modMask x, k), f i) -- > | (i, k) <- zip workspaces [xK_1 ..] -- > , (f, m) <- [(view, 0), (shift, shiftMask), (copy, shiftMask .|. controlMask)]] -- -- You may also wish to redefine the binding to kill a window so it only -- removes it from the current workspace, if it's present elsewhere: -- --- > , ((modMask .|. shiftMask, xK_c ), kill1) -- @@ Close the focused window +-- > , ((modMask x .|. shiftMask, xK_c ), kill1) -- @@ Close the focused window -- -- For detailed instructions on editing your key bindings, see -- "XMonad.Doc.Extending#Editing_key_bindings". diff --git a/XMonad/Actions/CycleWS.hs b/XMonad/Actions/CycleWS.hs index dd0c738..bff11aa 100644 --- a/XMonad/Actions/CycleWS.hs +++ b/XMonad/Actions/CycleWS.hs @@ -40,16 +40,16 @@ import XMonad.Operations -- -- > import XMonad.Actions.CycleWS -- --- > , ((modMask, xK_Right), nextWS) --- > , ((modMask, xK_Left), prevWS) --- > , ((modMask .|. shiftMask, xK_Right), shiftToNext) --- > , ((modMask .|. shiftMask, xK_Left), shiftToPrev) --- > , ((modMask, xK_t), toggleWS) +-- > , ((modMask x, xK_Right), nextWS) +-- > , ((modMask x, xK_Left), prevWS) +-- > , ((modMask x .|. shiftMask, xK_Right), shiftToNext) +-- > , ((modMask x .|. shiftMask, xK_Left), shiftToPrev) +-- > , ((modMask x, xK_t), toggleWS) -- -- If you want to follow the moved window, you can use both actions: -- --- > , ((modMask .|. shiftMask, xK_Right), shiftToNext >> nextWS) --- > , ((modMask .|. shiftMask, xK_Left), shiftToPrev >> prevWS) +-- > , ((modMask x .|. shiftMask, xK_Right), shiftToNext >> nextWS) +-- > , ((modMask x .|. shiftMask, xK_Left), shiftToPrev >> prevWS) -- -- For detailed instructions on editing your key bindings, see -- "XMonad.Doc.Extending#Editing_key_bindings". diff --git a/XMonad/Actions/DeManage.hs b/XMonad/Actions/DeManage.hs index d7949a6..2171ec8 100644 --- a/XMonad/Actions/DeManage.hs +++ b/XMonad/Actions/DeManage.hs @@ -46,7 +46,7 @@ import Graphics.X11 (Window) -- -- And add a keybinding, such as: -- --- > , ((modMask, xK_d ), withFocused demanage) +-- > , ((modMask x, xK_d ), withFocused demanage) -- -- For detailed instructions on editing your key bindings, see -- "XMonad.Doc.Extending#Editing_key_bindings". diff --git a/XMonad/Actions/DwmPromote.hs b/XMonad/Actions/DwmPromote.hs index 3a7020c..c29f81a 100644 --- a/XMonad/Actions/DwmPromote.hs +++ b/XMonad/Actions/DwmPromote.hs @@ -34,7 +34,7 @@ import XMonad.StackSet -- -- then add a keybinding or substitute 'dwmpromote' in place of promote: -- --- > , ((modMask, xK_Return), dwmpromote) +-- > , ((modMask x, xK_Return), dwmpromote) -- -- For detailed instructions on editing your key bindings, see -- "XMonad.Doc.Extending#Editing_key_bindings". diff --git a/XMonad/Actions/FindEmptyWorkspace.hs b/XMonad/Actions/FindEmptyWorkspace.hs index 0043cc0..90459ba 100644 --- a/XMonad/Actions/FindEmptyWorkspace.hs +++ b/XMonad/Actions/FindEmptyWorkspace.hs @@ -35,8 +35,8 @@ import XMonad.Operations -- -- and add the desired keybindings, for example: -- --- > , ((modMask, xK_m ), viewEmptyWorkspace) --- > , ((modMask .|. shiftMask, xK_m ), tagToEmptyWorkspace) +-- > , ((modMask x, xK_m ), viewEmptyWorkspace) +-- > , ((modMask x .|. shiftMask, xK_m ), tagToEmptyWorkspace) -- -- Now you can jump to an empty workspace with @mod-m@. @Mod-shift-m@ -- will tag the current window to an empty workspace and view it. diff --git a/XMonad/Actions/FlexibleManipulate.hs b/XMonad/Actions/FlexibleManipulate.hs index c3df935..c577d31 100644 --- a/XMonad/Actions/FlexibleManipulate.hs +++ b/XMonad/Actions/FlexibleManipulate.hs @@ -34,7 +34,7 @@ import Graphics.X11.Xlib.Extras -- -- Now set up the desired mouse binding, for example: -- --- > , ((modMask, button1), (\w -> focus w >> Flex.mouseWindow Flex.linear w)) +-- > , ((modMask x, button1), (\w -> focus w >> Flex.mouseWindow Flex.linear w)) -- -- * Flex.'linear' indicates that positions between the edges and the -- middle indicate a combination scale\/position. diff --git a/XMonad/Actions/FlexibleResize.hs b/XMonad/Actions/FlexibleResize.hs index 98b6f60..f3523bb 100644 --- a/XMonad/Actions/FlexibleResize.hs +++ b/XMonad/Actions/FlexibleResize.hs @@ -31,7 +31,7 @@ import Foreign.C.Types -- -- Then add an appropriate mouse binding: -- --- > , ((modMask, button3), (\w -> focus w >> Flex.mouseResizeWindow w)) +-- > , ((modMask x, button3), (\w -> focus w >> Flex.mouseResizeWindow w)) -- -- For detailed instructions on editing your mouse bindings, see -- "XMonad.Doc.Extending#Editing_mouse_bindings". diff --git a/XMonad/Actions/FloatKeys.hs b/XMonad/Actions/FloatKeys.hs index 224c598..116a72e 100644 --- a/XMonad/Actions/FloatKeys.hs +++ b/XMonad/Actions/FloatKeys.hs @@ -31,11 +31,11 @@ import Graphics.X11.Xlib.Extras -- -- Then add appropriate key bindings, for example: -- --- > , ((modMask, xK_d ), withFocused (keysResizeWindow (-10,-10) (1,1))) --- > , ((modMask, xK_s ), withFocused (keysResizeWindow (10,10) (1,1))) --- > , ((modMask .|. shiftMask, xK_d ), withFocused (keysAbsResizeWindow (-10,-10) (1024,752))) --- > , ((modMask .|. shiftMask, xK_s ), withFocused (keysAbsResizeWindow (10,10) (1024,752))) --- > , ((modMask, xK_a ), withFocused (keysMoveWindowTo (512,384) (1%2,1%2))) +-- > , ((modMask x, xK_d ), withFocused (keysResizeWindow (-10,-10) (1,1))) +-- > , ((modMask x, xK_s ), withFocused (keysResizeWindow (10,10) (1,1))) +-- > , ((modMask x .|. shiftMask, xK_d ), withFocused (keysAbsResizeWindow (-10,-10) (1024,752))) +-- > , ((modMask x .|. shiftMask, xK_s ), withFocused (keysAbsResizeWindow (10,10) (1024,752))) +-- > , ((modMask x, xK_a ), withFocused (keysMoveWindowTo (512,384) (1%2,1%2))) -- -- For detailed instructions on editing your key bindings, see -- "XMonad.Doc.Extending#Editing_key_bindings". -- cgit v1.2.3