awesome-wm-widgets
awesome-wm-widgets copied to clipboard
[Calendar] Wrong background color when the first day of the month is weekend day
As title stated. Expected behavior:
First day of the month as weekend day:
I'm pretty sure there's something wrong in line ~160, but I haven't found anything suspicious.
local default_bg = (weekday == 0 or weekday == 6)
and calendar_themes[theme].weekend_day_bg
or calendar_themes[theme].bg
The behavior can be reproduced if, for example, changing to weekday == 2
, then every month starting with Wednesday will have wrong color.
Similar issue here but I cannot figure a pattern to reproduce (see May and February/March/June):
Edit: it seems completely random for me, April now has light grey background:
Solved by recent commits on my end. :+1: