Minor changes

This commit is contained in:
Kristofers Solo
2022-05-05 15:08:52 +03:00
parent 05f94fbd4f
commit c9984d197b
81 changed files with 342 additions and 193 deletions

View File

@@ -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.
@@ -547,7 +547,7 @@ awful.rules.rules = {
{ rule_any = {type = { "normal", "dialog" }
}, properties = { titlebars_enabled = false }
},
{
rule_any = {
class = { "Thunderbird", "discord", "telegram-desktop", "TelegramDesktop" }