Changed awesome laptop

This commit is contained in:
Kristofers Solo 2022-04-28 23:09:27 +03:00
parent ce413e00a8
commit 60517db137

View File

@ -357,17 +357,17 @@ globalkeys = gears.table.join(
awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(-1) end,
{description = "select previous", group = "layout"}),
awful.key({ modkey, "Control" }, "n",
function ()
local c = awful.client.restore()
-- Focus restored client
if c then
c:emit_signal(
"request::activate", "key.unminimize", {raise = true}
)
end
end,
{description = "restore minimized", group = "client"}),
-- awful.key({ modkey, "Control" }, "n",
-- function ()
-- local c = awful.client.restore()
-- -- Focus restored client
-- if c then
-- c:emit_signal(
-- "request::activate", "key.unminimize", {raise = true}
-- )
-- end
-- end,
-- {description = "restore minimized", group = "client"}),
-- Prompt
awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end,
@ -404,32 +404,32 @@ clientkeys = gears.table.join(
awful.key({ modkey, }, "o", function (c) c:move_to_screen() end,
{description = "move to screen", group = "client"}),
awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end,
{description = "toggle keep on top", group = "client"}),
awful.key({ modkey, }, "n",
function (c)
-- The client currently has the input focus, so it cannot be
-- minimized, since minimized clients can't have the focus.
c.minimized = true
end ,
{description = "minimize", group = "client"}),
awful.key({ modkey, }, "m",
function (c)
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 = "(un)maximize vertically", group = "client"}),
awful.key({ modkey, "Shift" }, "m",
function (c)
c.maximized_horizontal = not c.maximized_horizontal
c:raise()
end ,
{description = "(un)maximize horizontally", group = "client"})
{description = "toggle keep on top", group = "client"})
-- awful.key({ modkey, }, "n",
-- function (c)
-- -- The client currently has the input focus, so it cannot be
-- -- minimized, since minimized clients can't have the focus.
-- c.minimized = true
-- end ,
-- {description = "minimize", group = "client"}),
-- awful.key({ modkey, }, "m",
-- function (c)
-- 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 = "(un)maximize vertically", group = "client"}),
-- awful.key({ modkey, "Shift" }, "m",
-- function (c)
-- c.maximized_horizontal = not c.maximized_horizontal
-- c:raise()
-- end ,
-- {description = "(un)maximize horizontally", group = "client"})
)
-- Bind all key numbers to tags.