Welcome to TNW Basics, a accumulating of tips, guides, and advice on how to easily get the most out of your gadgets, apps, and other stuff.

Shortcuts for iOS is a very useful — but often alone — way to automate your iPhone or iPad. In this series, we’ve been attractive at altered workflows to make your Apple device a lot more able to achieve specific tasks. Today’s automation is all about ambience fresh new wallpaper for your device — and Unsplash is great source for cool images.

Now, you do have the option of just manually downloading and ambience a wallpaper you like… but where’s the fun it that? I’ll show you how to use Unsplash’s Source API to fetch a random photo every time you run it and set it as your phone’s wallpaper — which is way cooler. Here’s how you do it:

Disclaimer: In order to run the shortcut, you need to be on iOS 13 developer beta, as it involves some accomplishments that are missing from the accepted adaptation (2.2) accessible on the App Store.

Step #1: Download the Shortcuts app from the App Store, if you haven’t done so already. (Note: It comes pre-installed on your device if you’re already active iOS 13 developer beta.)

Step #2: Open the app, and in the ‘My Shortcuts’ tab, hit “ ” on top to create a new shortcut.

webrok

Step #3: Tap the “Settings” icon, and give the adjustment a name, for example, “Set Wallpaper.” You can also tap the “Icon” to change it to article that matches your shortcut’s action better.

webrok

Step #4: As a first step, add a “Text” action. Here’s where you’ll add the URL to fetch a random photo from Unsplash. The URL format goes as follows: “https://source.unsplash.com/random/<image resolution>/?<keyword>.”

For instance, if you want a new architecture-related photo, you could do article like: https://source.unsplash.com/random/1242×2688?architecture

But if you’re also absorbed in nature, you can also amalgamate assorted search terms like this: https://source.unsplash.com/random/1242×2688?architecture,nature

There are also other custom URLs for affairs a random photo from a specific user, or from a collection, and more. You can find them all here.

webrok

Step #5: Next, add a “Get Capacity of URL” action. This does absolutely what it says — get the capacity of the URL passed, which, in this case, is an image.

webrok

Step #6: As a final step, set the wallpaper using “Set Wallpaper” action. You can also choose if you want the wallpaper to be set on both your Home and Lock Screen.

webrok

Step #7: The adjustment is complete. You can now run the adjustment by hitting the “Play” button. When you run the adjustment for the first time, you will be prompted to allow Shortcuts app to download from the URL. Hit “OK.”

webrok

webrok

Read next: You can now buy shares in this brewery using cryptocurrency