mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
Haddock docs: modMask --> modMask x
This commit is contained in:
parent
f8a054f592
commit
09faa86c16
@ -44,7 +44,7 @@ import Data.Maybe
|
|||||||
--
|
--
|
||||||
-- Then add a keybinding to the runCommand action:
|
-- 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:
|
-- and define the list of commands you want to use:
|
||||||
--
|
--
|
||||||
|
@ -34,8 +34,8 @@ import Graphics.X11.Xlib.Extras
|
|||||||
--
|
--
|
||||||
-- Then add something like the following to your mouse bindings:
|
-- Then add something like the following to your mouse bindings:
|
||||||
--
|
--
|
||||||
-- > , ((modMask, button3), (\w -> focus w >> Sqr.mouseResizeWindow w False))
|
-- > , ((modMask x, button3), (\w -> focus w >> Sqr.mouseResizeWindow w False))
|
||||||
-- > , ((modMask .|. shiftMask, button3), (\w -> focus w >> Sqr.mouseResizeWindow w True ))
|
-- > , ((modMask x .|. shiftMask, button3), (\w -> focus w >> Sqr.mouseResizeWindow w True ))
|
||||||
--
|
--
|
||||||
-- The line without the shiftMask replaces the standard mouse resize
|
-- The line without the shiftMask replaces the standard mouse resize
|
||||||
-- function call, so it's not completely necessary but seems neater
|
-- function call, so it's not completely necessary but seems neater
|
||||||
|
@ -39,14 +39,14 @@ import XMonad.StackSet
|
|||||||
-- > -- mod-[1..9] @@ Switch to workspace N
|
-- > -- mod-[1..9] @@ Switch to workspace N
|
||||||
-- > -- mod-shift-[1..9] @@ Move client to workspace N
|
-- > -- mod-shift-[1..9] @@ Move client to workspace N
|
||||||
-- > -- mod-control-shift-[1..9] @@ Copy 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 ..]
|
-- > | (i, k) <- zip workspaces [xK_1 ..]
|
||||||
-- > , (f, m) <- [(view, 0), (shift, shiftMask), (copy, shiftMask .|. controlMask)]]
|
-- > , (f, m) <- [(view, 0), (shift, shiftMask), (copy, shiftMask .|. controlMask)]]
|
||||||
--
|
--
|
||||||
-- You may also wish to redefine the binding to kill a window so it only
|
-- 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:
|
-- 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
|
-- For detailed instructions on editing your key bindings, see
|
||||||
-- "XMonad.Doc.Extending#Editing_key_bindings".
|
-- "XMonad.Doc.Extending#Editing_key_bindings".
|
||||||
|
@ -40,16 +40,16 @@ import XMonad.Operations
|
|||||||
--
|
--
|
||||||
-- > import XMonad.Actions.CycleWS
|
-- > import XMonad.Actions.CycleWS
|
||||||
--
|
--
|
||||||
-- > , ((modMask, xK_Right), nextWS)
|
-- > , ((modMask x, xK_Right), nextWS)
|
||||||
-- > , ((modMask, xK_Left), prevWS)
|
-- > , ((modMask x, xK_Left), prevWS)
|
||||||
-- > , ((modMask .|. shiftMask, xK_Right), shiftToNext)
|
-- > , ((modMask x .|. shiftMask, xK_Right), shiftToNext)
|
||||||
-- > , ((modMask .|. shiftMask, xK_Left), shiftToPrev)
|
-- > , ((modMask x .|. shiftMask, xK_Left), shiftToPrev)
|
||||||
-- > , ((modMask, xK_t), toggleWS)
|
-- > , ((modMask x, xK_t), toggleWS)
|
||||||
--
|
--
|
||||||
-- If you want to follow the moved window, you can use both actions:
|
-- If you want to follow the moved window, you can use both actions:
|
||||||
--
|
--
|
||||||
-- > , ((modMask .|. shiftMask, xK_Right), shiftToNext >> nextWS)
|
-- > , ((modMask x .|. shiftMask, xK_Right), shiftToNext >> nextWS)
|
||||||
-- > , ((modMask .|. shiftMask, xK_Left), shiftToPrev >> prevWS)
|
-- > , ((modMask x .|. shiftMask, xK_Left), shiftToPrev >> prevWS)
|
||||||
--
|
--
|
||||||
-- For detailed instructions on editing your key bindings, see
|
-- For detailed instructions on editing your key bindings, see
|
||||||
-- "XMonad.Doc.Extending#Editing_key_bindings".
|
-- "XMonad.Doc.Extending#Editing_key_bindings".
|
||||||
|
@ -46,7 +46,7 @@ import Graphics.X11 (Window)
|
|||||||
--
|
--
|
||||||
-- And add a keybinding, such as:
|
-- 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
|
-- For detailed instructions on editing your key bindings, see
|
||||||
-- "XMonad.Doc.Extending#Editing_key_bindings".
|
-- "XMonad.Doc.Extending#Editing_key_bindings".
|
||||||
|
@ -34,7 +34,7 @@ import XMonad.StackSet
|
|||||||
--
|
--
|
||||||
-- then add a keybinding or substitute 'dwmpromote' in place of promote:
|
-- 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
|
-- For detailed instructions on editing your key bindings, see
|
||||||
-- "XMonad.Doc.Extending#Editing_key_bindings".
|
-- "XMonad.Doc.Extending#Editing_key_bindings".
|
||||||
|
@ -35,8 +35,8 @@ import XMonad.Operations
|
|||||||
--
|
--
|
||||||
-- and add the desired keybindings, for example:
|
-- and add the desired keybindings, for example:
|
||||||
--
|
--
|
||||||
-- > , ((modMask, xK_m ), viewEmptyWorkspace)
|
-- > , ((modMask x, xK_m ), viewEmptyWorkspace)
|
||||||
-- > , ((modMask .|. shiftMask, xK_m ), tagToEmptyWorkspace)
|
-- > , ((modMask x .|. shiftMask, xK_m ), tagToEmptyWorkspace)
|
||||||
--
|
--
|
||||||
-- Now you can jump to an empty workspace with @mod-m@. @Mod-shift-m@
|
-- 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.
|
-- will tag the current window to an empty workspace and view it.
|
||||||
|
@ -34,7 +34,7 @@ import Graphics.X11.Xlib.Extras
|
|||||||
--
|
--
|
||||||
-- Now set up the desired mouse binding, for example:
|
-- 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
|
-- * Flex.'linear' indicates that positions between the edges and the
|
||||||
-- middle indicate a combination scale\/position.
|
-- middle indicate a combination scale\/position.
|
||||||
|
@ -31,7 +31,7 @@ import Foreign.C.Types
|
|||||||
--
|
--
|
||||||
-- Then add an appropriate mouse binding:
|
-- 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
|
-- For detailed instructions on editing your mouse bindings, see
|
||||||
-- "XMonad.Doc.Extending#Editing_mouse_bindings".
|
-- "XMonad.Doc.Extending#Editing_mouse_bindings".
|
||||||
|
@ -31,11 +31,11 @@ import Graphics.X11.Xlib.Extras
|
|||||||
--
|
--
|
||||||
-- Then add appropriate key bindings, for example:
|
-- Then add appropriate key bindings, for example:
|
||||||
--
|
--
|
||||||
-- > , ((modMask, xK_d ), withFocused (keysResizeWindow (-10,-10) (1,1)))
|
-- > , ((modMask x, xK_d ), withFocused (keysResizeWindow (-10,-10) (1,1)))
|
||||||
-- > , ((modMask, xK_s ), withFocused (keysResizeWindow (10,10) (1,1)))
|
-- > , ((modMask x, xK_s ), withFocused (keysResizeWindow (10,10) (1,1)))
|
||||||
-- > , ((modMask .|. shiftMask, xK_d ), withFocused (keysAbsResizeWindow (-10,-10) (1024,752)))
|
-- > , ((modMask x .|. shiftMask, xK_d ), withFocused (keysAbsResizeWindow (-10,-10) (1024,752)))
|
||||||
-- > , ((modMask .|. shiftMask, xK_s ), withFocused (keysAbsResizeWindow (10,10) (1024,752)))
|
-- > , ((modMask x .|. shiftMask, xK_s ), withFocused (keysAbsResizeWindow (10,10) (1024,752)))
|
||||||
-- > , ((modMask, xK_a ), withFocused (keysMoveWindowTo (512,384) (1%2,1%2)))
|
-- > , ((modMask x, xK_a ), withFocused (keysMoveWindowTo (512,384) (1%2,1%2)))
|
||||||
--
|
--
|
||||||
-- For detailed instructions on editing your key bindings, see
|
-- For detailed instructions on editing your key bindings, see
|
||||||
-- "XMonad.Doc.Extending#Editing_key_bindings".
|
-- "XMonad.Doc.Extending#Editing_key_bindings".
|
||||||
|
Loading…
x
Reference in New Issue
Block a user