aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Util
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2007-11-14 20:11:09 +0100
committerAndrea Rossato <andrea.rossato@unibz.it>2007-11-14 20:11:09 +0100
commitd76d82ef32c42ca55b34c840ce85d5174fccdfc7 (patch)
tree870de3a0885ee3b647c5c9ae0c0763910559d24e /XMonad/Util
parentfe55d0845c351e8ca15dcb4aade79fbda671f221 (diff)
downloadXMonadContrib-d76d82ef32c42ca55b34c840ce85d5174fccdfc7.tar.gz
XMonadContrib-d76d82ef32c42ca55b34c840ce85d5174fccdfc7.tar.xz
XMonadContrib-d76d82ef32c42ca55b34c840ce85d5174fccdfc7.zip
EZConfig.hs: haddock fixes
darcs-hash:20071114191109-32816-b002a4e93548cfcd17c9f6ab8fbea61a1f43cf75.gz
Diffstat (limited to 'XMonad/Util')
-rw-r--r--XMonad/Util/EZConfig.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/XMonad/Util/EZConfig.hs b/XMonad/Util/EZConfig.hs
index 903a39e..1003dff 100644
--- a/XMonad/Util/EZConfig.hs
+++ b/XMonad/Util/EZConfig.hs
@@ -25,11 +25,13 @@ import Graphics.X11.Xlib
-- |
-- Add or override keybindings from the existing set. Example use:
+--
-- > main = xmonad $ defaultConfig { terminal = "urxvt" }
-- > `additionalKeys`
-- > [ ((mod1Mask, xK_m ), spawn "echo 'Hi, mom!' | dzen2 -p 4")
-- > , ((mod1Mask, xK_BackSpace), withFocused hide) -- N.B. this is an absurd thing to do
-- > ]
+--
-- This overrides the previous definition of mod-m.
--
-- Note that, unlike in xmonad 0.4 and previous, you can't use modMask to refer
@@ -41,6 +43,7 @@ additionalKeys conf keysList =
-- |
-- Remove standard keybidings you're not using. Example use:
+--
-- > main = xmonad $ defaultConfig { terminal = "urxvt" }
-- > `removeKeys` [(mod1Mask .|. shiftMask, n) | n <- [xK_1 .. xK_9]]
removeKeys :: XConfig a -> [(ButtonMask, KeySym)] -> XConfig a