From a359143e8b4481822a2dd986ba04ff7b8fe6a5e0 Mon Sep 17 00:00:00 2001 From: Nikurasu Date: Wed, 29 Mar 2023 13:35:32 +0200 Subject: [PATCH] Fixed buggy bug UwU --- awesome/rc.lua | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/awesome/rc.lua b/awesome/rc.lua index 345ff4d..07d1273 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -278,14 +278,6 @@ globalkeys = gears.table.join( {description = "focus the previous screen", group = "screen"}), awful.key({ modkey, }, "u", awful.client.urgent.jumpto, {description = "jump to urgent client", group = "client"}), - awful.key({ modkey, }, "Tab", - function (c) - awful.client.focus.history.previous() - if c.focus then - c.focus:raise() - end - end, - {description = "go back", group = "client"}), awful.key({modkey, "Control" }, "q", function () awful.spawn("systemctl suspend") end, {description = "suspend the session", group = "awesome"}), @@ -391,8 +383,15 @@ clientkeys = gears.table.join( function (c) awful.titlebar.toggle(c) end, - {description = "toggle titlebar", group = "client"}) - + {description = "toggle titlebar", group = "client"}), + awful.key({ modkey, }, "Tab", + function (c) + awful.client.focus.history.previous() + if c.focus then + c.focus:raise() + end + end, + {description = "go back", group = "client"}) ) -- Bind all key numbers to tags.