summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vogt <vogt.adam@gmail.com>2012-12-31 17:33:05 +0100
committerAdam Vogt <vogt.adam@gmail.com>2012-12-31 17:33:05 +0100
commit3a9df7711bdfd26543dfeaba4156e9472194d20a (patch)
treed6ee8d661504a027ffd50a1d812bc31c0e6c8b71
parenta0cd2c1b2c4543c23690cc5218cd312254052da5 (diff)
downloadmetatile-3a9df7711bdfd26543dfeaba4156e9472194d20a.tar
metatile-3a9df7711bdfd26543dfeaba4156e9472194d20a.zip
Copy help binding from XMonad.Config to man/xmonad.hs
Ignore-this: d814eb9f3c7031769915f73343e38c6c darcs-hash:20121231163305-1499c-abc51e884e42dde7f1197ed4b83133e6f95003c7
-rw-r--r--man/xmonad.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/man/xmonad.hs b/man/xmonad.hs
index ff1394b..bb4b52c 100644
--- a/man/xmonad.hs
+++ b/man/xmonad.hs
@@ -127,6 +127,9 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
-- Restart xmonad
, ((modm , xK_q ), spawn "xmonad --recompile; xmonad --restart")
+
+ -- Run xmessage with a summary of the default keybindings (useful for beginners)
+ , ((modMask .|. shiftMask, xK_slash ), spawn ("echo \"" ++ help ++ "\" | xmessage -file -"))
]
++