streetturtle / awesome-wm-widgets

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

[weather-api-widget] 3-day forecast use night variants icons during the day #459

Open xfzv opened 5 days ago

xfzv commented 5 days ago

Original conversation

Opening this issue as requested in https://github.com/Ryuno-Ki/awesome-wm-widgets/commit/449f2dbb3944e58ebe6a97ac87bf5137b76d255a#commitcomment-148523178


With

icons = "weather-underground-icons",
icons_extension = ".png",
show_daily_forecast = true,

The night variant icons are used for the 3-day forecast during day time (and probably the other way around, unconfirmed for now):

1

Reverting https://github.com/Ryuno-Ki/awesome-wm-widgets/commit/449f2dbb3944e58ebe6a97ac87bf5137b76d255a solves the issue but then the current condition icon (in the bar and in the preview) is using the wrong variant:

2

Ryuno-Ki commented 5 days ago

Will look into it once #458 is merged.