X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/4cd8db012cd7dfa9cb579992abead39aaf8a63b0..da2c1cb7783b96a9bd9d10de352a35bacdae6aad:/widgets/calendar.lua?ds=inline 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 })