forked from streetturtle/awesome-wm-widgets
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I only need to add a prefix when it is not day. Signed-off-by: André Jaenisch <[email protected]>
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
449f2db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Ryuno-Ki
For some reason, night icons are displayed during the day on my end (and probably the other way around but I haven't seen what occurs at night yet). Reverting this commit solves the issue:
This also works while keeping the changes:
I checked my icons and they seem fine, all
-night
variants aren't day variants and vice versa.Any idea?
449f2db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me 😮
is_day
is either 1 or 0.weather-api-widget/icons/weather-underground-icons
only has icons with-night
suffixed, soif not 1 then add "-night" end
sounds like the right logic to me.449f2db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot to mention that the issue is about the forecast icons, not the current condition icon (which is fine). I'm using
449f2db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I noticed it there, too. Odd.
I'll take a look into it once the other PR got merged.
Thanks for reporting! (I hope I can rediscover this conversation - mind to open an issue?)
449f2db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Ryuno-Ki streetturtle#459
Keep up the good work!