X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/43cd98510a33e9f2d50d315a9bfc31ff8d3062c9..229d2545dd399b52c6128a823657c6266fbbe8a9:/widgets/calendar.lua?ds=inline diff --git a/widgets/calendar.lua b/widgets/calendar.lua index 892d954..032b1fb 100644 --- a/widgets/calendar.lua +++ b/widgets/calendar.lua @@ -24,6 +24,8 @@ function calendar.hide() end function calendar.show(t_out, inc_offset, scr) + calendar.hide() + local today = os.date("%d") local offs = inc_offset or 0 local f