aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Actions/Commands.hs
diff options
context:
space:
mode:
authorBrent Yorgey <byorgey@gmail.com>2008-03-25 17:57:07 +0100
committerBrent Yorgey <byorgey@gmail.com>2008-03-25 17:57:07 +0100
commit8834eb79cb33c762f43d8463513add1a3700bb11 (patch)
tree2e69b3c7dbee909fad1f815608987f38a47edd56 /XMonad/Actions/Commands.hs
parentb40ba3bbabc62f932359993548d10a31a4dc999a (diff)
downloadXMonadContrib-8834eb79cb33c762f43d8463513add1a3700bb11.tar.gz
XMonadContrib-8834eb79cb33c762f43d8463513add1a3700bb11.tar.xz
XMonadContrib-8834eb79cb33c762f43d8463513add1a3700bb11.zip
XMonad.Actions.Commands: documentation fix
darcs-hash:20080325165707-bd4d7-70e00a53cf9ca0c0533a48590a7596db1ff92b00.gz
Diffstat (limited to '')
-rw-r--r--XMonad/Actions/Commands.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/XMonad/Actions/Commands.hs b/XMonad/Actions/Commands.hs
index eb7d1e9..7dc7f8d 100644
--- a/XMonad/Actions/Commands.hs
+++ b/XMonad/Actions/Commands.hs
@@ -41,16 +41,16 @@ import Data.Maybe
--
-- Then add a keybinding to the runCommand action:
--
--- > , ((modMask x .|. controlMask, xK_y), runCommand commands)
+-- > , ((modMask x .|. controlMask, xK_y), commands >>= runCommand)
--
-- and define the list of commands you want to use:
--
--- > commands :: [(String, X ())]
+-- > commands :: X [(String, X ())]
-- > commands = defaultCommands
--
-- Whatever key you bound to will now cause a popup menu of internal
--- xmonad commands to appear. You can change the commands by
--- changing the contents of the list 'commands'. (If you like it
+-- xmonad commands to appear. You can change the commands by changing
+-- the contents of the list returned by 'commands'. (If you like it
-- enough, you may even want to get rid of many of your other key
-- bindings!)
--