config: add bindings to (un)maximize horizontally/vertically

This commit is contained in:
Daniel Hahler 2017-02-15 23:35:04 +01:00
parent 52011a68e1
commit f3f6a69dda
1 changed files with 13 additions and 1 deletions

View File

@ -377,7 +377,19 @@ clientkeys = awful.util.table.join(
c.maximized = not c.maximized c.maximized = not c.maximized
c:raise() c:raise()
end , end ,
{description = "maximize", group = "client"}) {description = "(un)maximize", group = "client"}),
awful.key({ modkey, "Control" }, "m",
function (c)
c.maximized_vertical = not c.maximized_vertical
c:raise()
end ,
{description = "(un)maximize vertically", group = "client"}),
awful.key({ modkey, "Shift" }, "m",
function (c)
c.maximized_horizontal = not c.maximized_horizontal
c:raise()
end ,
{description = "(un)maximize horizontally", group = "client"})
) )
-- @DOC_NUMBER_KEYBINDINGS@ -- @DOC_NUMBER_KEYBINDINGS@