X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/4cd8db012cd7dfa9cb579992abead39aaf8a63b0..c580e13015554a32dbc93173b5b40dd1dec1ea78:/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 })