Prompt/*: add XConfig variable to keybindings in doc.

This commit is contained in:
Joachim Fasting 2007-11-18 14:48:49 +00:00
parent 0d383fa26f
commit 9ff17a46aa
7 changed files with 14 additions and 14 deletions

View File

@ -32,7 +32,7 @@ import XMonad.Layout.LayoutCombinators ( JumpToLayout(..) )
-- > import XMonad.Prompt
-- > import XMonad.Prompt.Layout
--
-- > , ((modMask .|. shiftMask, xK_m ), layoutPrompt defaultXPConfig)
-- > , ((modMask x .|. shiftMask, xK_m ), layoutPrompt defaultXPConfig)
-- WARNING: This prompt won't display all possible layouts, because the
-- code to enable this was rejected from xmonad core. It only displays

View File

@ -47,11 +47,11 @@ import Data.Maybe
--
-- 2. In your keybindings add something like:
--
-- > , ((modMask, xK_F1), manPrompt defaultXPConfig)
-- > , ((modMask x, xK_F1), manPrompt defaultXPConfig)
-- %import XMonad.Prompt
-- %import XMonad.Prompt.Man
-- %keybind , ((modMask, xK_F1), manPrompt defaultXPConfig)
-- %keybind , ((modMask x, xK_F1), manPrompt defaultXPConfig)
data Man = Man

View File

@ -40,12 +40,12 @@ import XMonad.Prompt
--
-- 2. In your keybindings add something like:
--
-- > , ((modMask .|. controlMask, xK_x), shellPrompt defaultXPConfig)
-- > , ((modMask x .|. controlMask, xK_x), shellPrompt defaultXPConfig)
--
-- %import XMonad.Prompt
-- %import XMonad.Prompt.Shell
-- %keybind , ((modMask .|. controlMask, xK_x), shellPrompt defaultXPConfig)
-- %keybind , ((modMask x .|. controlMask, xK_x), shellPrompt defaultXPConfig)
data Shell = Shell

View File

@ -37,12 +37,12 @@ import Data.Maybe
--
-- 2. In your keybindings add something like:
--
-- > , ((modMask .|. controlMask, xK_s), sshPrompt defaultXPConfig)
-- > , ((modMask x .|. controlMask, xK_s), sshPrompt defaultXPConfig)
--
-- %import XMonad.Prompt
-- %import XMonad.Prompt.Ssh
-- %keybind , ((modMask .|. controlMask, xK_s), sshPrompt defaultXPConfig)
-- %keybind , ((modMask x .|. controlMask, xK_s), sshPrompt defaultXPConfig)
data Ssh = Ssh

View File

@ -43,13 +43,13 @@ import XMonad.Actions.WindowBringer
--
-- and in the keys definition:
--
-- > , ((modMask .|. shiftMask, xK_g ), windowPromptGoto defaultXPConfig)
-- > , ((modMask .|. shiftMask, xK_b ), windowPromptBring defaultXPConfig)
-- > , ((modMask x .|. shiftMask, xK_g ), windowPromptGoto defaultXPConfig)
-- > , ((modMask x .|. shiftMask, xK_b ), windowPromptBring defaultXPConfig)
-- %import XMonad.Prompt
-- %import XMonad.Prompt.Window
-- %keybind , ((modMask .|. shiftMask, xK_g ), windowPromptGoto defaultXPConfig)
-- %keybind , ((modMask .|. shiftMask, xK_b ), windowPromptBring defaultXPConfig)
-- %keybind , ((modMask x .|. shiftMask, xK_g ), windowPromptGoto defaultXPConfig)
-- %keybind , ((modMask x .|. shiftMask, xK_b ), windowPromptBring defaultXPConfig)
data WindowPrompt = Goto | Bring

View File

@ -30,7 +30,7 @@ import XMonad.StackSet ( workspaces, tag )
-- > import XMonad.Prompt
-- > import XMonad.Prompt.Workspace
--
-- > , ((modMask .|. shiftMask, xK_m ), workspacePrompt defaultXPConfig (windows . W.shift))
-- > , ((modMask x .|. shiftMask, xK_m ), workspacePrompt defaultXPConfig (windows . W.shift))
data Wor = Wor String

View File

@ -32,12 +32,12 @@ import XMonad.Actions.Commands (defaultCommands, runCommand')
--
-- in your keybindings add:
--
-- > , ((modMask .|. controlMask, xK_x), xmonadPrompt defaultXPConfig)
-- > , ((modMask x .|. controlMask, xK_x), xmonadPrompt defaultXPConfig)
--
-- %import XMonad.Prompt
-- %import XMonad.Prompt.XMonad
-- %keybind , ((modMask .|. controlMask, xK_x), xmonadPrompt defaultXPConfig)
-- %keybind , ((modMask x .|. controlMask, xK_x), xmonadPrompt defaultXPConfig)
data XMonad = XMonad