Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calendar-widget: added option to show week numbers, possible fix for #316 #417

Merged
merged 4 commits into from
Nov 19, 2023

Conversation

Luka5W
Copy link
Contributor

@Luka5W Luka5W commented Oct 8, 2023

the problem should be, that the decorate_all (fn_embed) is called multiple times for multiple purposes:

  1. flag=header|monthheader|weeknumber: background should stay normal
  2. flag=weekday|normal|focus: background should stay normal until its weekend
  3. flag=month: background should stay normal. and this is the line causing problems: https://github.com/awesomeWM/awesome/blob/aa8c7c6e27a20fa265d3f06c5dc3fe72cc5f021e/lib/wibox/widget/calendar.lua#L272

ive kind of fixed it but since i just know some lua basics, this might be not the best solution

possible fix for #316

@streetturtle streetturtle merged commit d98fb49 into streetturtle:master Nov 19, 2023
1 check failed
@streetturtle
Copy link
Owner

Great! Thanks!

Luka5W added a commit to Luka5W/awesome-wm-widgets that referenced this pull request Nov 23, 2023
streetturtle added a commit that referenced this pull request Nov 24, 2023
 complete redesign of #417, working now (tm)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants