Doors/configs/awesome/binds/layout.lua

34 lines
657 B
Lua
Raw Normal View History

-- Binds that affect layout
globalkeys = Gears.table.join(
2024-01-09 20:38:24 -05:00
globalkeys,
2024-01-09 20:38:24 -05:00
Awful.key({ Modkey, 'Shift' }, 'h', function()
Awful.tag.incmwfact(-0.05)
end, {
description = 'resize split -',
group = 'layout',
}),
2024-01-09 20:38:24 -05:00
Awful.key({ Modkey, 'Shift' }, 'l', function()
Awful.tag.incmwfact(0.05)
end, {
description = 'resize split +',
group = 'layout',
}),
2024-01-09 20:38:24 -05:00
Awful.key({ Modkey }, '[', function()
Awful.layout.inc(1)
end, {
description = 'select next',
group = 'layout',
}),
2024-01-09 20:38:24 -05:00
Awful.key({ Modkey }, ']', function()
Awful.layout.inc(-1)
end, {
description = 'select previous',
group = 'layout',
})
)