diff options
author | Daniel Wagner <daniel@wagner-home.com> | 2013-01-06 18:42:54 +0100 |
---|---|---|
committer | Daniel Wagner <daniel@wagner-home.com> | 2013-01-06 18:42:54 +0100 |
commit | e34ee5f532ef0715e74dce8c8127ce29db375d3b (patch) | |
tree | a5386f174d38e9d711c50994ae90b240300a850b | |
parent | 0de17cb3b5d91eb81e75be23808b5a07a465adca (diff) | |
download | xmonad-e34ee5f532ef0715e74dce8c8127ce29db375d3b.tar.gz xmonad-e34ee5f532ef0715e74dce8c8127ce29db375d3b.tar.xz xmonad-e34ee5f532ef0715e74dce8c8127ce29db375d3b.zip |
define the "help" string in the sample configuration bundled with xmonad
Ignore-this: 1db666ea921046378921356e14cc828f
darcs-hash:20130106174254-76d51-eb029d8f94f48f91cc5000429acfca76026b5d6b.gz
-rw-r--r-- | man/xmonad.hs | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/man/xmonad.hs b/man/xmonad.hs index bb4b52c..9aff798 100644 --- a/man/xmonad.hs +++ b/man/xmonad.hs @@ -280,3 +280,54 @@ defaults = defaultConfig { logHook = myLogHook, startupHook = myStartupHook } + +-- | Finally, a copy of the default bindings in simple textual tabular format. +help :: String +help = unlines ["The default modifier key is 'alt'. Default keybindings:", + "", + "-- launching and killing programs", + "mod-Shift-Enter Launch xterminal", + "mod-p Launch dmenu", + "mod-Shift-p Launch gmrun", + "mod-Shift-c Close/kill the focused window", + "mod-Space Rotate through the available layout algorithms", + "mod-Shift-Space Reset the layouts on the current workSpace to default", + "mod-n Resize/refresh viewed windows to the correct size", + "", + "-- move focus up or down the window stack", + "mod-Tab Move focus to the next window", + "mod-Shift-Tab Move focus to the previous window", + "mod-j Move focus to the next window", + "mod-k Move focus to the previous window", + "mod-m Move focus to the master window", + "", + "-- modifying the window order", + "mod-Return Swap the focused window and the master window", + "mod-Shift-j Swap the focused window with the next window", + "mod-Shift-k Swap the focused window with the previous window", + "", + "-- resizing the master/slave ratio", + "mod-h Shrink the master area", + "mod-l Expand the master area", + "", + "-- floating layer support", + "mod-t Push window back into tiling; unfloat and re-tile it", + "", + "-- increase or decrease number of windows in the master area", + "mod-comma (mod-,) Increment the number of windows in the master area", + "mod-period (mod-.) Deincrement the number of windows in the master area", + "", + "-- quit, or restart", + "mod-Shift-q Quit xmonad", + "mod-q Restart xmonad", + "mod-[1..9] Switch to workSpace N", + "", + "-- Workspaces & screens", + "mod-Shift-[1..9] Move client to workspace N", + "mod-{w,e,r} Switch to physical/Xinerama screens 1, 2, or 3", + "mod-Shift-{w,e,r} Move client to screen 1, 2, or 3", + "", + "-- Mouse bindings: default actions bound to mouse events", + "mod-button1 Set the window to floating mode and move by dragging", + "mod-button2 Raise the window to the top of the stack", + "mod-button3 Set the window to floating mode and resize by dragging"] |