config: add bindings to (un)maximize horizontally/vertically
This commit is contained in:
parent
52011a68e1
commit
f3f6a69dda
|
@ -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