local awful = require("awful") local gears = require("gears") local function bind() -- {{{ Mouse bindings root.buttons(gears.table.join(awful.button({}, 3, function() mymainmenu:toggle() end), awful.button({}, 4, awful.tag.viewnext), awful.button({}, 5, awful.tag.viewprev))) -- }}} end return { bind = bind }