1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2025-01-11 02:08:08 +00:00

Moved mouse bindings out of rc.lua.theme files

This commit is contained in:
Alexandre Viau 2014-05-11 16:53:37 -04:00
parent 674ddfc076
commit 00c993dcf3
9 changed files with 25 additions and 56 deletions

View file

@ -289,13 +289,8 @@ for s = 1, screen.count() do
end
-- }}}
-- {{{ Mouse bindings
root.buttons(awful.util.table.join(
awful.button({ }, 3, function () mymainmenu:toggle() end),
awful.button({ }, 4, awful.tag.viewnext),
awful.button({ }, 5, awful.tag.viewprev)
))
-- }}}
-- Bindings
require("settings.binds")
-- {{{ Key bindings
globalkeys = awful.util.table.join(

View file

@ -339,13 +339,8 @@ for s = 1, screen.count() do
end
-- }}}
-- {{{ Mouse bindings
root.buttons(awful.util.table.join(
awful.button({ }, 3, function () mymainmenu:toggle() end),
awful.button({ }, 4, awful.tag.viewnext),
awful.button({ }, 5, awful.tag.viewprev)
))
-- }}}
-- Bindings
require("settings.binds")
-- {{{ Key bindings
globalkeys = awful.util.table.join(

View file

@ -289,13 +289,8 @@ for s = 1, screen.count() do
end
-- }}}
-- {{{ Mouse bindings
root.buttons(awful.util.table.join(
awful.button({ }, 3, function () mymainmenu:toggle() end),
awful.button({ }, 4, awful.tag.viewnext),
awful.button({ }, 5, awful.tag.viewprev)
))
-- }}}
-- Bindings
require("settings.binds")
-- {{{ Key bindings
globalkeys = awful.util.table.join(

View file

@ -424,13 +424,8 @@ for s = 1, screen.count() do
end
-- }}}
-- {{{ Mouse bindings
root.buttons(awful.util.table.join(
awful.button({ }, 3, function () mymainmenu:toggle() end),
awful.button({ }, 4, awful.tag.viewnext),
awful.button({ }, 5, awful.tag.viewprev)
))
-- }}}
-- Bindings
require("settings.binds")
-- {{{ Key bindings
globalkeys = awful.util.table.join(

View file

@ -356,13 +356,8 @@ for s = 1, screen.count() do
end
-- }}}
-- {{{ Mouse Bindings
root.buttons(awful.util.table.join(
awful.button({ }, 3, function () mymainmenu:toggle() end),
awful.button({ }, 4, awful.tag.viewnext),
awful.button({ }, 5, awful.tag.viewprev)
))
-- }}}
-- Bindings
require("settings.binds")
-- {{{ Key bindings
globalkeys = awful.util.table.join(

View file

@ -347,13 +347,8 @@ for s = 1, screen.count() do
end
-- }}}
-- {{{ Mouse Bindings
root.buttons(awful.util.table.join(
awful.button({ }, 3, function () mymainmenu:toggle() end),
awful.button({ }, 4, awful.tag.viewnext),
awful.button({ }, 5, awful.tag.viewprev)
))
-- }}}
-- Bindings
require("settings.binds")
-- {{{ Key bindings
globalkeys = awful.util.table.join(

View file

@ -287,13 +287,8 @@ for s = 1, screen.count() do
end
-- }}}
-- {{{ Mouse bindings
root.buttons(awful.util.table.join(
awful.button({ }, 3, function () mymainmenu:toggle() end),
awful.button({ }, 4, awful.tag.viewnext),
awful.button({ }, 5, awful.tag.viewprev)
))
-- }}}
-- Bindings
require("settings.binds")
-- {{{ Key bindings
globalkeys = awful.util.table.join(

View file

@ -300,13 +300,8 @@ for s = 1, screen.count() do
end
-- }}}
-- {{{ Mouse bindings
root.buttons(awful.util.table.join(
awful.button({ }, 3, function () mymainmenu:toggle() end),
awful.button({ }, 4, awful.tag.viewnext),
awful.button({ }, 5, awful.tag.viewprev)
))
-- }}}
-- Bindings
require("settings.binds")
-- {{{ Key bindings
globalkeys = awful.util.table.join(

9
settings/binds.lua Normal file
View file

@ -0,0 +1,9 @@
local awful = require("awful")
-- {{{ Mouse bindings
root.buttons(awful.util.table.join(
awful.button({ }, 3, function () mymainmenu:toggle() end),
awful.button({ }, 4, awful.tag.viewnext),
awful.button({ }, 5, awful.tag.viewprev)
))
-- }}}