diff options
Diffstat (limited to 'awesome/.config/awesome/rc.lua')
-rw-r--r-- | awesome/.config/awesome/rc.lua | 10 |
1 files changed, 6 insertions, 4 deletions
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"}), |