Adding scrolling support to the calendar
This commit is contained in:
parent
315106253f
commit
604b85a6e4
1 changed files with 5 additions and 1 deletions
|
@ -120,6 +120,10 @@ function calendar:attach(widget, args)
|
||||||
widget:buttons(awful.util.table.join( awful.button({ }, 1, function ()
|
widget:buttons(awful.util.table.join( awful.button({ }, 1, function ()
|
||||||
calendar:show(0, -1) end),
|
calendar:show(0, -1) end),
|
||||||
awful.button({ }, 3, function ()
|
awful.button({ }, 3, function ()
|
||||||
|
calendar:show(0, 1) end),
|
||||||
|
awful.button({ }, 4, function ()
|
||||||
|
calendar:show(0, -1) end),
|
||||||
|
awful.button({ }, 5, function ()
|
||||||
calendar:show(0, 1) end)))
|
calendar:show(0, 1) end)))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue