Cleaned up keybinds

This commit is contained in:
2022-07-17 20:29:08 -07:00
parent 067b02c69e
commit fc761cb33b
9 changed files with 22 additions and 233 deletions

View File

@ -36,17 +36,6 @@ return gears.table.join(
}
),
awful.key( {"Mod4"}, "f",
function (c)
c.fullscreen = not c.fullscreen
c:raise()
end,
{
description = "toggle fullscreen",
group = "client"
}
),
awful.key( {"Mod4", "Shift"}, "c",
function (c)
c:kill()
@ -57,7 +46,17 @@ return gears.table.join(
}
),
awful.key( {"Mod4", "Control"}, "space",
awful.key( {"Mod4", "Control"}, "Return",
function (c)
c:swap(awful.client.getmaster())
end,
{
description = "move to master",
group = "client"
}
),
awful.key( {"Mod4"}, "f",
awful.client.floating.toggle,
{
description = "toggle floating",
@ -65,12 +64,13 @@ return gears.table.join(
}
),
awful.key( {"Mod4", "Control"}, "Return",
awful.key( {"Mod4"}, "g",
function (c)
c:swap(awful.client.getmaster())
c.fullscreen = not c.fullscreen
c:raise()
end,
{
description = "move to master",
description = "toggle fullscreen",
group = "client"
}
),
@ -103,27 +103,5 @@ return gears.table.join(
{
description = "(un)maximize", group = "client"
}
),
awful.key( {"Mod4", "Control"}, "m",
function (c)
c.maximized_vertical = not c.maximized_vertical
c:raise()
end,
{
description = "(un)maximize vertically",
group = "client"
}
),
awful.key( {"Mod4", "Shift"}, "m",
function (c)
c.maximized_horizontal = not c.maximized_horizontal
c:raise()
end,
{
description = "(un)maximize horizontally",
group = "client"
}
)
)