rc.lua: Use the new API to set the client keys

This commit is contained in:
Emmanuel Lepage Vallee 2018-12-26 22:01:05 -05:00
parent 4617365ee2
commit 965d7c1b47
1 changed files with 3 additions and 3 deletions

View File

@ -330,7 +330,7 @@ globalkeys = gears.table.join(
) )
-- @DOC_CLIENT_KEYBINDINGS@ -- @DOC_CLIENT_KEYBINDINGS@
clientkeys = gears.table.join( clientkeys = {
awful.key({ modkey, }, "f", awful.key({ modkey, }, "f",
function (c) function (c)
c.fullscreen = not c.fullscreen c.fullscreen = not c.fullscreen
@ -371,8 +371,8 @@ clientkeys = gears.table.join(
c.maximized_horizontal = not c.maximized_horizontal c.maximized_horizontal = not c.maximized_horizontal
c:raise() c:raise()
end , end ,
{description = "(un)maximize horizontally", group = "client"}) {description = "(un)maximize horizontally", group = "client"}),
) }
-- @DOC_NUMBER_KEYBINDINGS@ -- @DOC_NUMBER_KEYBINDINGS@
-- Bind all key numbers to tags. -- Bind all key numbers to tags.