keydoc: add documentation of various keybindings

This work by monkey-patching awful.key to include documentation. The
documentation is available through modkey + F1.
This commit is contained in:
Vincent Bernat 2012-07-14 21:21:52 +02:00
parent 47115a0fbe
commit a79215d4dc
6 changed files with 193 additions and 43 deletions

View file

@ -234,4 +234,5 @@ end
config.keys.global = awful.util.table.join(
config.keys.global,
awful.key({ modkey }, "r", function () promptbox[mouse.screen]:run() end))
awful.key({ modkey }, "r", function () promptbox[mouse.screen]:run() end,
"Prompt for a command"))