Unsplash + Automator + Shortcuts [EN]

Wallyson Galvão
3 min readFeb 5, 2024

--

I've always liked using Unsplash's app to set wallpapers on Mac, in an automatic and random way, Unsplash always recommends beautiful images and recently I wanted to use the same app on iPhone, Unsplash has an app for iOS, but it's not possible to sync both apps so they have the same wallpaper.

So I decided to create an automation to do this job, using the following tools:

1 — Unsplash

2 — Automator

3 — Shortcuts

The main idea is: When I select an image from Unsplash, the automator will identify that there is an new image as wallpaper and will upload the image to iCloud, on the iPhone there will be an automation to download the image from iCloud and set it as wallpaper.

0 — iCloud

In iCloud I've created a new folder called Unsplash, where I'll store the images that I want to use as wallpapers.

1 — Unsplash

Download and install the Unsplash app on your machine, which will give you a shortcut in the menu bar.

2 — Automator

Here, we'll make our first automation, open the Automator and select the "Folder Action" option, this option will ensure that whenever we have a change in this folder our workflow will run.

Our workflow will look something like the following:

2.1 — Get Specified Finder Items

Here, you'll need to select the folder that contains the images that Unsplash set as wallpaper, the path is this:

/Users/wallysongalvao/Library/Containers/com.unsplash.Wallpapers/Data/Library/Application Support/com.unsplash.Wallpapers

An important detail is that this folder is a hidden folder, in Finder to show the hidden folders use the “cmd + shift + ." keys.

2.2 — Get Folder Contents

In this step we'll select the items inside the folder “com.unsplash.Wallpapers”

2.3 — Import Files into Photos

With the images selected we'll upload them to our Unsplash folder (created in step 0).

3 — Shortcuts

Now on iPhone we'll create our shortcut and automate it.

3.1 — Create the shortcut

Using the app shortcuts to create the following workflow:

3.2 — Creating the automation

Using the app shortcuts to create the following automation:

That's it, I hope this work for you as well…

--

--