rc.lua: Use the new API to set the client keys
This commit is contained in:
parent
4617365ee2
commit
965d7c1b47
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue