diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-11-01 13:10:23 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-11-01 13:10:23 -0300 |
commit | 9294ff312c118f0bca2a6e6ab7066e01ad9e542a (patch) | |
tree | c62ff9f25c6d77a2137656e4c4a17badcb80f91c | |
parent | c8e4174a5dad5384f4939cb5ec91cc3524ba0a73 (diff) | |
download | awesome-9294ff312c118f0bca2a6e6ab7066e01ad9e542a.tar.gz awesome-9294ff312c118f0bca2a6e6ab7066e01ad9e542a.tar.bz2 |
Fix: switch j and k swap/focus indexes (2)
-rw-r--r-- | config.dot/awesome.link/globalkeys.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/config.dot/awesome.link/globalkeys.lua b/config.dot/awesome.link/globalkeys.lua index 62899b2..fc94587 100644 --- a/config.dot/awesome.link/globalkeys.lua +++ b/config.dot/awesome.link/globalkeys.lua @@ -9,22 +9,22 @@ globalkeys = awful.util.table.join( function () awful.client.focus.byidx(-1) end, - {description = "focus next by index", group = "client"} + {description = "focus previous by index", group = "client"} ), awful.key({ modkey, }, "k", function () awful.client.focus.byidx( 1) end, - {description = "focus previous by index", group = "client"} + {description = "focus next by index", group = "client"} ), awful.key({ modkey, }, "w", function () mymainmenu:show() end, {description = "show main menu", group = "awesome"}), -- Layout manipulation - awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( -1) end, {description = "swap with next client by index", group = "client"}), - awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( 1) end, {description = "swap with previous client by index", group = "client"}), - awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative(-1) end, {description = "focus the next screen", group = "screen"}), - awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative( 1) end, {description = "focus the previous screen", group = "screen"}), + awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( -1) end, {description = "swap with previous client by index", group = "client"}), + awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( 1) end, {description = "swap with next client by index", group = "client"}), + awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative(-1) end, {description = "focus the previous screen", group = "screen"}), + awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative( 1) end, {description = "focus the next screen", group = "screen"}), awful.key({ modkey, }, "u", awful.client.urgent.jumpto, {description = "jump to urgent client", group = "client"}), --- Default tab behavior |