You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, I was trying my best at a weather module. Nothing fancy, my script outputs 3 variables: a glyph/icon with the weather condition, the temperature and the unit (ºC)
I was expecting it to be personalized to look something like this. All the passing and font manipulation is required to ensure the center modules are "centered".
I started here, but I didn't like how I couldn't fine control the output format so I ended up using 3 text 'fake weather' modules to help myself with a visual and now I'm everywhere looking for help to make this possible. I know I could call the weather script twice, once for the temperature, another for the icon, and still have my formatting, but I'm here wondering if it is possible that the exec json returns two classes or two objects instead of one.
This is how I got to the image I've shared.
I hope I can really do this. Any idea for a workaround that does not involve calling the script twice, once for the glyph, another for the temperature, and keeping the text module with the unit?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
So, I was trying my best at a weather module. Nothing fancy, my script outputs 3 variables: a glyph/icon with the weather condition, the temperature and the unit (ºC)
I was expecting it to be personalized to look something like this. All the passing and font manipulation is required to ensure the center modules are "centered".
I started here, but I didn't like how I couldn't fine control the output format so I ended up using 3 text 'fake weather' modules to help myself with a visual and now I'm everywhere looking for help to make this possible. I know I could call the weather script twice, once for the temperature, another for the icon, and still have my formatting, but I'm here wondering if it is possible that the exec json returns two classes or two objects instead of one.
This is how I got to the image I've shared.
I hope I can really do this. Any idea for a workaround that does not involve calling the script twice, once for the glyph, another for the temperature, and keeping the text module with the unit?
Beta Was this translation helpful? Give feedback.
All reactions