rc.lua: Use the new API for root.buttons

This commit is contained in:
Emmanuel Lepage Vallee 2018-12-26 21:49:56 -05:00
parent 8eda69adbe
commit 951b774a70
1 changed files with 3 additions and 3 deletions

View File

@ -219,11 +219,11 @@ end)
-- {{{ Mouse bindings
-- @DOC_ROOT_BUTTONS@
root.buttons(gears.table.join(
root.buttons = {
awful.button({ }, 3, function () mymainmenu:toggle() end),
awful.button({ }, 4, awful.tag.viewnext),
awful.button({ }, 5, awful.tag.viewprev)
))
awful.button({ }, 5, awful.tag.viewprev),
}
-- }}}
-- {{{ Key bindings