streetturtle / awesome-wm-widgets

Widgets for Awesome Window Manager
http://pavelmakhov.com/awesome-wm-widgets/
MIT License
2.16k stars 279 forks source link

fixed #434 #436

Open Luka5W opened 10 months ago

Luka5W commented 10 months ago

(From the Issue:)

When keeping the computer turned on over night, the current day/ today day is not updated. To update the day, the calendar popup has to be closed (which triggers the update, see calendar.lua#L229-L234) and opened again.

I'm not sure if the lines 230 (where the calendars date is reset; -- the new date is not set without removing the old one) and 232 (where the calendar widget is reset; -- just in case) should be moved to the else case or stay where they are. I haven't experienced any issues with the fix though