From b9fe5f53cdf2e0b89ca518f0586d9e82ba67fb1f Mon Sep 17 00:00:00 2001 From: kj-sh604 Date: Thu, 3 Oct 2024 07:37:09 -0400 Subject: refactor: `selected_tag.gap = 2` --- .config/awesome/rc-4.3-3.lua | 2 +- .config/awesome/rc.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '.config/awesome') diff --git a/.config/awesome/rc-4.3-3.lua b/.config/awesome/rc-4.3-3.lua index bc08e0b..c6caf2d 100644 --- a/.config/awesome/rc-4.3-3.lua +++ b/.config/awesome/rc-4.3-3.lua @@ -473,7 +473,7 @@ globalkeys = gears.table.join( { description = "increase client gaps", group = "client" }), awful.key({ modkey }, ";", function() awful.tag.incgap(-2) end, { description = "decrease client gaps", group = "client" }), - awful.key({ modkey }, "backslash", function() awful.screen.focused().selected_tag.gap = 5 end, + awful.key({ modkey }, "backslash", function() awful.screen.focused().selected_tag.gap = 2 end, { description = "reset client gaps", group = "client" }), -- launch choose-xrandr-gui diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 45de6d1..c789d0a 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -460,7 +460,7 @@ awful.keyboard.append_global_keybindings({ { description = "increase client gaps", group = "client" }), awful.key({ modkey }, ";", function() awful.tag.incgap(-2) end, { description = "decrease client gaps", group = "client" }), - awful.key({ modkey }, "backslash", function() awful.screen.focused().selected_tag.gap = 5 end, + awful.key({ modkey }, "backslash", function() awful.screen.focused().selected_tag.gap = 2 end, { description = "reset client gaps", group = "client" }), -- launch choose-xrandr-gui -- cgit v1.2.3