From b73bf44b7518cdf6d75b3bf79c67d217aced651f Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Mon, 30 Nov 2020 21:52:33 +0700 Subject: Update 2020-11-30 --- awesome/.config/awesome/rc.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'awesome/.config/awesome/rc.lua') diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index bfb390d..1e8432f 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -443,10 +443,10 @@ local globalkeys = awful.util.table.join( {description = "swap with previous client by index", group = "client"}), awful.key({modkey}, "0", - function () awful.screen.focus_relative(1) end, + function () awful.screen.focus_relative(-1) end, {description = "focus the next screen", group = "screen"}), awful.key({modkey}, "`", - function () awful.screen.focus_relative(-1) end, + function () awful.screen.focus_relative(1) end, {description = "focus the previous screen", group = "screen"}), awful.key({modkey}, "u", awful.client.urgent.jumpto, {description = "jump to urgent client", group = "client"}), @@ -594,9 +594,11 @@ local clientkeys = awful.util.table.join( awful.key({modkey, "Control"}, "space", function (c) c:swap(awful.client.getmaster()) end, {description = "move to master", group = "client"}), - awful.key({modkey, "Shift"}, "0", function (c) c:move_to_screen() end, + awful.key({modkey, "Shift"}, "0", + function (c) c:move_to_screen(c.screen.index - 1) end, {description = "move to screen", group = "client"}), - awful.key({modkey, "Shift"}, "`", function (c) c:move_to_screen() end, + awful.key({modkey, "Shift"}, "`", + function (c) c:move_to_screen(c.screen.index + 1) 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"}), -- cgit 1.4.1