Fix keybindings help and add minimize keybinding

This commit is contained in:
Alice Gaudon 2019-07-23 15:32:39 +02:00
parent 5d3b7a08fa
commit cabc1bf081
2 changed files with 10 additions and 3 deletions

10
rc.lua
View File

@ -364,15 +364,19 @@ clientkeys = gears.table.join(
-- tiling -- tiling
awful.key({modkey,}, "Right", awful.key({modkey,}, "Right",
tiling.key.tileRight, tiling.key.tileRight,
{description = "Move right", group = "window_tiling"} {description = "Tile right", group = "tiling"}
), ),
awful.key({modkey,}, "Left", awful.key({modkey,}, "Left",
tiling.key.tileLeft, tiling.key.tileLeft,
{description = "Move left", group = "window_tiling"} {description = "Tile left", group = "tiling"}
), ),
awful.key({modkey,}, "Up", awful.key({modkey,}, "Up",
tiling.key.toggleMaximized, tiling.key.toggleMaximized,
{description = "Move left", group = "window_tiling"} {description = "Toggle maximized", group = "tiling"}
),
awful.key({modkey,}, "Down",
tiling.key.minimize,
{description = "Lower", group = "tiling"}
), ),
awful.key({ modkey, }, "f", awful.key({ modkey, }, "f",

View File

@ -62,6 +62,9 @@ return {
c.maximized = false c.maximized = false
end end
end end
end,
minimize = function(c)
c.minimized = true
end end
} }
} }