From: Samir Benmendil Date: Mon, 10 Jun 2013 16:32:31 +0000 (+0200) Subject: group mouse bindings X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/5ade0e620bac61e27a9aa85913daf0dad4408e0c group mouse bindings --- diff --git a/awesome/bindings.lua b/awesome/bindings.lua index 81a06b4..9f65a30 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 @@ -130,12 +135,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) -- }}} -