2022-07-16 17:10:17 -07:00
|
|
|
local layoutmanager = require("core.layouts.layoutmanager")
|
|
|
|
|
2021-08-01 07:24:26 -07:00
|
|
|
return gears.table.join(
|
2022-07-17 20:29:08 -07:00
|
|
|
awful.key( {"Mod4"}, "+",
|
2021-08-01 07:24:26 -07:00
|
|
|
function ()
|
|
|
|
awful.tag.incmwfact( 0.05)
|
|
|
|
end,
|
|
|
|
{
|
|
|
|
description = "increase master width factor",
|
|
|
|
group = "Layout"
|
|
|
|
}
|
|
|
|
),
|
|
|
|
|
2022-07-17 20:29:08 -07:00
|
|
|
awful.key({"Mod4"}, "-",
|
2021-08-01 07:24:26 -07:00
|
|
|
function ()
|
|
|
|
awful.tag.incmwfact(-0.05)
|
|
|
|
end,
|
|
|
|
{
|
|
|
|
description = "decrease master width factor",
|
|
|
|
group = "Layout"
|
|
|
|
}
|
|
|
|
),
|
|
|
|
|
2022-07-17 21:02:13 -07:00
|
|
|
awful.key( {"Mod4"}, ",",
|
2021-08-01 07:24:26 -07:00
|
|
|
function ()
|
|
|
|
layoutmanager:next()
|
|
|
|
end,
|
|
|
|
{
|
|
|
|
description = "select layouts",
|
|
|
|
group = "Layout"
|
|
|
|
}
|
|
|
|
),
|
|
|
|
|
2022-07-17 21:02:13 -07:00
|
|
|
awful.key( {"Mod4"}, ".",
|
2021-08-01 07:24:26 -07:00
|
|
|
function ()
|
|
|
|
layoutmanager:next_alt()
|
|
|
|
end,
|
|
|
|
{
|
|
|
|
description = "cycle alt layouts",
|
|
|
|
group = "Layout"
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|