Closed GideonWolfe closed 3 years ago
Removing this line:
month=$((month+1)) # for some reason eww gives the month as a zero-based integer
will solve the problem. This was to accommodate for older versions of eww
where the month were numbered starting from 0. They have since changed this and now number months correctly starting from 1. I have not pushed the commit to change this yet though, glad you caught it!
Hmm. It still seems to be off. The day is correct, but one month behind.
I added the line back in, restarted eww
, and it seems to be working?! I cloned eww
like three days ago, is that still on the old version?
just checked, i'm up to date with master.
Oh, I thought they had it fixed, but seems it's still like that. Yeah, keeping the line in should fix it then.
Again, sorry about the issue spam but I can't tell if this is from something I did or not.
Right after I run
eww-start
and open the calendar, I seeOn the top you can see the correct date as displayed by polybar. Even the
eww
calendar is correctly highlighting the current date.However somehow
year_cal
.weekday_cal
, and the other variables are set incorrectly.eww state | grep cal
I haven't really altered the
calendar.sh
script at all aside from parsing my appointments fromkhal
instead ofcalcurse
.Thanks