How to make Alt + mouse Scroll to run awful.tag.viewnext and awful.tag.viewprev, having mouse position anywhere ? I tried:
root.buttons(gears.table.join(
awful.button({ }, 3, function () mymainmenu:toggle() end),
awful.button({"Alt" }, 4, awful.tag.viewnext),
awful.button({"Alt" }, 5, awful.tag.viewprev)
))
But it dosent works.
Still cant use Alt. But it works with modkey. Here how i made it:
root.buttons(gears.table.join(
awful.button({ }, 3, function () mymainmenu:toggle() end),
awful.button({ modkey }, 5, awful.tag.viewnext),
awful.button({ modkey }, 4, awful.tag.viewprev)
))
...
clientbuttons = gears.table.join(
awful.button({ modkey }, 5, function(t) awful.tag.viewnext(1) end),
awful.button({ modkey }, 4, function(t) awful.tag.viewprev(1) end),
...