I’m trying to make the background gradient of this scriptable iOS widget more transparent but I can’t figure out how and I’m not familiar to JavaScript.
Only thing I have an issue with is the update time in the lower right corner. I have to change the text size to 6 to get it to show otherwise I only get “update...”
I just realized that the all is placed perfectly in the widget itself but not on the screen in scriptable when you press the play button from the script directly.
So all is fine. Thanks for your really quick reply and this great work
3
u/ZaphodBreebleb0x Jun 12 '21
This is an awesome weather script. My setup using it can be seen HERE.
2
u/volfion Feb 09 '21
Is there possibility to see daily forecast in medium widget instead of hourly?
2
u/Sipher6 Feb 20 '21
Is there a way to used transparency?
2
u/HigeMynx Mar 09 '21 edited Mar 10 '21
Hey I’ve posted this on stack too: https://stackoverflow.com/q/66530888/4238752
I’m trying to make the background gradient of this scriptable iOS widget more transparent but I can’t figure out how and I’m not familiar to JavaScript.
https://github.com/italoboy/Full-Weatherline-Widget
This is the code where I think the default background is generated but I don’t know how to edit this to make it less opaque.
And this should be the corresponding function that is called here.
I hope someone around here can help me.
I figured out that you can add a parameter to the color function but even if I set it to 0% opacity it’ll just appear much darker.
1
u/stahl80 Feb 11 '21
Great work! Love this script!!
Only thing I have an issue with is the update time in the lower right corner. I have to change the text size to 6 to get it to show otherwise I only get “update...”
1
u/ulics36 Feb 09 '21
Thanks so much
1
u/Schuhsohle Feb 09 '21
Love this widget already :D but unfortunately it doesn't really fit in the widget like you can see here https://imgur.com/a/q406W46
I am running this on my iPhone 12 pro max and it seems that i maybe misconfigured something. Does anyone have a hint? u/italoboy
1
u/[deleted] Feb 09 '21
Nice fork of the original script. 👍
1
u/Schuhsohle Feb 09 '21
It’s me again with a question 😅 sorry for bothering
I changed it to German locale and now the information isn’t shown properly. https://i.imgur.com/9OfYEFp.jpg
Can I extend the length which can be shown in the upper left corner? I haven’t found this yet 😅
1
u/gojailbreak Feb 09 '21
I’m trying to get hours to show to display 12 but even if I put in 13 it never changes from 10
1
u/felho001 Feb 21 '21
hi@italoboy I try use weatherline widget set hungary Budapest and api code but always error log line 1218:54 weatherdata.daily(0) my api code try this: api.openweathermap.org/data/2.5/weather?q=Budapest&appid=3d85e33b83cb4c9aba32a5f1323fdb18
0
u/[deleted] Feb 09 '21
[deleted] — view deleted comment
1
u/[deleted] Mar 31 '21
[removed] — view removed comment