X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/4cd8db012cd7dfa9cb579992abead39aaf8a63b0..de67546f6eee871026c67620997a392037dc4d7a:/widgets/calendar.lua?ds=sidebyside diff --git a/widgets/calendar.lua b/widgets/calendar.lua index 60d0997..f3d7b8a 100644 --- a/widgets/calendar.lua +++ b/widgets/calendar.lua @@ -121,7 +121,11 @@ function calendar:attach(widget, args) widget:buttons(awful.util.table.join( awful.button({ }, 1, function () calendar:show(0, -1) end), awful.button({ }, 3, function () - calendar:show(0, 1) end) )) + calendar:show(0, 1) end), + awful.button({ }, 4, function () + calendar:show(0, -1) end), + awful.button({ }, 5, function () + calendar:show(0, 1) end))) end return setmetatable(calendar, { __call = function(_, ...) return create(...) end })