awesomerc: add keybinding to open menu with keygrabber

This commit is contained in:
Damien Leone 2009-03-09 14:14:29 +01:00 committed by Julien Danjou
parent effb03a976
commit c29f57a5af
2 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,8 @@ Window manager control
Run Lua code prompt. Run Lua code prompt.
*Mod4 \+ Return*:: *Mod4 \+ Return*::
Spawn terminal emulator. Spawn terminal emulator.
*Mod4 \+ w*::
Open main menu.
Clients Clients
~~~~~~~ ~~~~~~~

View File

@ -197,6 +197,7 @@ globalkeys =
awful.client.focus.byidx(-1) awful.client.focus.byidx(-1)
if client.focus then client.focus:raise() end if client.focus then client.focus:raise() end
end), end),
key({ modkey, }, "w", function () mymainmenu:show(true) end),
-- Layout manipulation -- Layout manipulation
key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end), key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end),