rc.lua: Use the new API for root.buttons
This commit is contained in:
parent
8eda69adbe
commit
951b774a70
|
@ -219,11 +219,11 @@ end)
|
||||||
|
|
||||||
-- {{{ Mouse bindings
|
-- {{{ Mouse bindings
|
||||||
-- @DOC_ROOT_BUTTONS@
|
-- @DOC_ROOT_BUTTONS@
|
||||||
root.buttons(gears.table.join(
|
root.buttons = {
|
||||||
awful.button({ }, 3, function () mymainmenu:toggle() end),
|
awful.button({ }, 3, function () mymainmenu:toggle() end),
|
||||||
awful.button({ }, 4, awful.tag.viewnext),
|
awful.button({ }, 4, awful.tag.viewnext),
|
||||||
awful.button({ }, 5, awful.tag.viewprev)
|
awful.button({ }, 5, awful.tag.viewprev),
|
||||||
))
|
}
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- {{{ Key bindings
|
-- {{{ Key bindings
|
||||||
|
|
Loading…
Reference in New Issue