diff --git a/awesomerc.lua b/awesomerc.lua index e861bddd4..907d0f50c 100644 --- a/awesomerc.lua +++ b/awesomerc.lua @@ -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@