aboutsummaryrefslogtreecommitdiffstats
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
commit8b234f2ad63a7543dfb77dba718862d107f97ce3 (patch)
treed6ee8d661504a027ffd50a1d812bc31c0e6c8b71
parent0beef0e5b9a30076a31cc95c96ff557b80890959 (diff)
downloadxmonad-8b234f2ad63a7543dfb77dba718862d107f97ce3.tar.gz
xmonad-8b234f2ad63a7543dfb77dba718862d107f97ce3.tar.xz
xmonad-8b234f2ad63a7543dfb77dba718862d107f97ce3.zip
Copy help binding from XMonad.Config to man/xmonad.hs
Ignore-this: d814eb9f3c7031769915f73343e38c6c darcs-hash:20121231163305-1499c-abc51e884e42dde7f1197ed4b83133e6f95003c7.gz
Diffstat (limited to '')
-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 -"))
]
++