aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlista Kanjo2022-05-16 02:33:45 -0400
committerBlista Kanjo2022-05-16 02:33:45 -0400
commitd4e37d429b7548aec8f9492ecc25984b936e1f0e (patch)
treec90c717d998edbd21ca5f3b0f819fa2497b88387
parent71c38be00340f892128241f0b40276bb35e1f339 (diff)
removed depracated function awful.tag.setgap()
-rw-r--r--awesome/rc.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/awesome/rc.lua b/awesome/rc.lua
index 9459827..3e28c96 100644
--- a/awesome/rc.lua
+++ b/awesome/rc.lua
@@ -332,14 +332,14 @@ globalkeys = gears.table.join(
-- On-the-fly Window Gaps configuration
awful.key({modkey}, "'", function () awful.tag.incgap(2) end,
- {description = "increase window gaps", group = "window gaps"}),
+ {description = "increase window gaps", group = "client"}),
awful.key({modkey}, ";", function () awful.tag.incgap(-2) end,
- {description = "decrease window gaps", group = "window gaps"}),
+ {description = "decrease window gaps", group = "client"}),
+
+ awful.key({modkey}, "backslash", function () awful.screen.focused().selected_tag.gap = 5 end,
+ {description = "reset window gaps", group = "client"}),
- awful.key({modkey}, "backslash", function () awful.tag.setgap(5) end,
- {description = "reset window gaps", group = "window gaps"}), -- Warning: awful.tag.setgap() is deprecated
-
-- awesome window manager Controls
awful.key({ "Control", "Mod1" }, "BackSpace", awesome.restart,
{description = "reload awesome", group = "awesome"}),