r/Scriptable • • Sep 24 '20

My Home Screen scriptable with random images autorefresh internet

Post image
24 Upvotes

9 comments sorted by

1

u/Sharn25 Sep 24 '20

Scriptable code Here: https://gist.github.com/sharn25/1dcd7689ac3f838cd35143937da36530

Script from bjayers as base.

1

u/bigboirus25 Sep 26 '20

I like this but don’t really understand the parameters. I used the example one you had in the code bkg_fall.png and it shows a seagull and I do t know why lol. Is there something I can put there that just cycles through a library of photos?

1

u/Sharn25 Sep 26 '20

image.png|padding-top|text-color|ture for online server image or false to load local image|Image filers eg: nature,blur

All parameters sperated by |

first Parameter: For local image( Image should be stored in icloud/scriptables you can see in files app)

2nd Parameter: location of name and message from top of widget eg: 45

3rd Parameter: Color of the text

4th Parameter: for letting widget know where to get the background from. eg: if the value is "true" then it fetches the background from internet. if anything or "false" as it set background from local directory which is mentioned in first parameter.

5th Parameter: used to tell widget for background type which its fetch's from internet eg: nature or dark or sports or nature,blur

1

u/warfareforartists Sep 26 '20

Oooh, this is cool.. thank you! ..do you know how to make the background transparent too?

1

u/Sharn25 Sep 26 '20

Working on it

1

u/warfareforartists Sep 26 '20

Thanks for the quick response! ..I’ve got the random images appearing flawlessly and love that vibe, is there a way to change the interval in which the images change?

1

u/Sharn25 Sep 26 '20

Time interval between refreshes is being determined by the OS, scriptable don’t have control over it

1

u/[deleted] Sep 24 '20

Is there a reason to redact/cover the location on the weather widget?

0

u/[deleted] Sep 29 '20

[deleted]

1

u/TBRules35 Sep 30 '20

Want to know the same thing