X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/71fd31c2d9b0b43c41c5354cbbe1daed186d0578..72ea8c04bf1a2c5f207689fc4509e20b0e8237af:/awesome/bindings.lua?ds=inline diff --git a/awesome/bindings.lua b/awesome/bindings.lua index 81a06b4..2db9fb9 100644 --- a/awesome/bindings.lua +++ b/awesome/bindings.lua @@ -4,6 +4,11 @@ root.buttons(awful.util.table.join( awful.button({ }, 4, awful.tag.viewnext), awful.button({ }, 5, awful.tag.viewprev) )) + +clientbuttons = awful.util.table.join( + awful.button({ }, 1, function (c) client.focus = c; c:raise() end), + awful.button({ modkey }, 1, awful.mouse.client.move), + awful.button({ modkey }, 3, awful.mouse.client.resize)) -- }}} -- {{{ Key bindings @@ -29,6 +34,8 @@ globalkeys = awful.util.table.join( awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end), awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end), awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end), + awful.key({ modkey, "Control" }, "Left", function () awful.screen.focus_relative( 1) end), + awful.key({ modkey, "Control" }, "Right", function () awful.screen.focus_relative(-1) end), awful.key({ modkey, }, "u", awful.client.urgent.jumpto), awful.key({ modkey, }, "Tab", function () @@ -130,12 +137,6 @@ for i = 1, 9 do end)) end -clientbuttons = awful.util.table.join( - awful.button({ }, 1, function (c) client.focus = c; c:raise() end), - awful.button({ modkey }, 1, awful.mouse.client.move), - awful.button({ modkey }, 3, awful.mouse.client.resize)) - -- Set keys root.keys(globalkeys) -- }}} -