Merge pull request #1572 from blueyed/config-max-vh
config: add bindings to (un)maximize horizontally/vertically
This commit is contained in:
commit
94147bd6be
|
@ -377,7 +377,19 @@ clientkeys = awful.util.table.join(
|
|||
c.maximized = not c.maximized
|
||||
c:raise()
|
||||
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@
|
||||
|
|
Loading…
Reference in New Issue