]> git.rmz.io Git - dotfiles.git/blobdiff - awesome/bindings.lua
group mouse bindings
[dotfiles.git] / awesome / bindings.lua
index 81a06b44d64d15fb498e83b7e3e0000765f914da..9f65a308eec8952ce3e49deb608422ba45707076 100644 (file)
@@ -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)
 -- }}}
-