Did a lot of stuff

This commit is contained in:
Rene Kievits
2021-10-14 01:47:52 +02:00
parent 0d2a0bb8a8
commit 7843046d5b
20 changed files with 155 additions and 275 deletions

View File

@@ -10,7 +10,7 @@ function _M.get()
awful.key(
{ modkey },
"f",
function (c)
function(c)
c.fullscreen = not c.fullscreen
c:raise()
end,
@@ -19,24 +19,34 @@ function _M.get()
awful.key(
{ modkey },
"q",
function (c)
function(c)
c:kill()
end,
{ description = "Close window", group = "Client" }
),
awful.key(
{ modkey, "Shift" },
{ modkey, "Control" },
"Space",
awful.client.floating.toggle,
{ description = "Toggle floating window", group = "Client" }
),
awful.key(
{ modkey, "Control" },
"r",
{ modkey},
"m",
function (c)
awesome.restart()
c.maximized = not c.maximized
c:raise()
end ,
{description = "(un)maximize", group = "client"}
),
awful.key(
{ modkey, "Control" },
"m",
function (c)
c.maximized_vertical = not c.maximized_vertical
c:raise()
end,
{ description = "Restart awesome", group = "Client" }
{ description = "Unmaximize", group = "client"}
)
)
return clientkeys