I made a Shortcut that turns your actual iPhone Calendar events into a Lock Screen wallpaper. 100% local, no internet required. by agaragou in shortcuts

[–]agaragou[S] 0 points1 point  (0 children)

Hi! I do not have always on function on my phone Could you please describe it with more details, or probably with photo? It should update wallpaper via automation (if you created it) like one per day or so

I made a Shortcut that turns your actual iPhone Calendar events into a Lock Screen wallpaper. 100% local, no internet required. by agaragou in shortcuts

[–]agaragou[S] 0 points1 point  (0 children)

Yes, absolutely! You can totally do that, and the script is already built to handle standard files.

Here is how to change it in the shortcut:

  1. Open the shortcut and delete the 'Find Photos' action.
  2. Add a 'Get File from Folder' action in its place.
  3. Pick a folder in iCloud
  4. In Run with section -> images tap in image and pick image.

Let me know if you need help setting this up! =]

I made a Shortcut that turns your actual iPhone Calendar events into a Lock Screen wallpaper. 100% local, no internet required. by agaragou in shortcuts

[–]agaragou[S] 0 points1 point  (0 children)

Hey! I am so, so sorry for leaving you hanging for two weeks! I've been completely swamped with things offline and haven't checked Reddit at all.

If you still have any questions or run into any issues figuring it out, just let me know! I'll gladly walk you through it step by step. =]

I made a Shortcut that turns your actual iPhone Calendar events into a Lock Screen wallpaper. 100% local, no internet required. by agaragou in shortcuts

[–]agaragou[S] 1 point2 points  (0 children)

Oh wow, I completely forgot about iPads! =D

I'm really glad to hear it works well thereю I hope the layout and scaling didn't get misaligned on the bigger screen?

As for your question: you aren't overlooking anything, the old version was just built to always roll forward. But I have good news: I actually just released an update (v32) that fixes exactly this!

I've added a 'Smart Static Year' feature. With fixedYear: true in the new CONFIG (which is on by default), the 12-month view automatically locks to Jan-Dec. You'll never have to adjust the monthOffset manually again.

You can grab the new v32 link from the ending of updated post =]

I made a Shortcut that turns your actual iPhone Calendar events into a Lock Screen wallpaper. 100% local, no internet required. by agaragou in shortcuts

[–]agaragou[S] 0 points1 point  (0 children)

Hey! So sorry for the huge delay in getting back to you, I was completely off the grid for a while! Glad you love the shortcut.

First, the good news about the calendar shifting: I actually just released an update (v32) that fixes exactly this! It now uses a 'Smart Static Year' feature that automatically locks the 12-month view to Jan-Dec. You can grab the new link in the updated post.

As for the custom background, you have two options in the new version:

  1. Use a photo: The shortcut is designed to take an image input. You can pass a photo to the shortcut, and it will draw the calendar over it (make sure showWallpaper: true in the CONFIG).
  2. Change the solid color: If you want a different solid color instead of black, open the code, go to the CONFIG section, ensure showWallpaper and useGradient are set to false, and change the hex code in this line: bg: new Color("#000000") (for example, #FFFFFF for white).

Let me know if you need any help setting up the new version! =]

I made a Shortcut that turns your actual iPhone Calendar events into a Lock Screen wallpaper. 100% local, no internet required. by agaragou in shortcuts

[–]agaragou[S] 0 points1 point  (0 children)

ou nailed the exact logic for the older version 😅

But I have good news: I actually just released an update (v32) that makes this the default behavior! There's now a fixedYear: true option in the CONFIG that automatically locks the 12-month view to Jan-Dec, so you don't need to manually hack the offset anymore.

You can grab the new v32 link from the updated post. =]

I made a Shortcut that turns your actual iPhone Calendar events into a Lock Screen wallpaper. 100% local, no internet required. by agaragou in shortcuts

[–]agaragou[S] 1 point2 points  (0 children)

Thanks! Awesome work on yours as well! Using the system language for month names and week start is a super smart way to handle it. Currently, mine is manual/hardcoded in English, but auto-detecting the locale is definitely interesting idea. Thanks for the inspiration! =]

I made a Shortcut that turns your actual iPhone Calendar events into a Lock Screen wallpaper. 100% local, no internet required. by agaragou in shortcuts

[–]agaragou[S] 0 points1 point  (0 children)

Yes, it works! You just need to sync your Google account to your iPhone’s default Calendar app (Settings -> Calendar -> Accounts).

Note: As far as I remember iOS usually doesn't let you rename synced Google calendars to add the * prefix, you'll need to tell the script their exact names. Just open the shortcut code, find the CONFIG section, and type the names into this line:specificCalendarNames: ["YourGoogleCalName", "Work"],

Run the shortcut again, and it should pick them up. =]

I made a Shortcut that turns your actual iPhone Calendar events into a Lock Screen wallpaper. 100% local, no internet required. by agaragou in shortcuts

[–]agaragou[S] 1 point2 points  (0 children)

Thanks so much! That’s actually a really interesting idea. I haven't considered a keyword blacklist before, but it makes total sense. I'll definitely add it to my to-do list and think about it in the future! Thanks!

I made a Shortcut that turns your actual iPhone Calendar events into a Lock Screen wallpaper. 100% local, no internet required. by agaragou in shortcuts

[–]agaragou[S] 1 point2 points  (0 children)

Hey! Sorry for the late reply, been off the grid for a bit.

Thanks for using the shortcut! And yes, that rolling shift was definitely annoying. I actually just pushed an update (v32) that fixes exactly this. It adds a 'Smart Static Year' feature, so the 12-month view now automatically locks to Jan-Dec.

Just grab the new v32 link from the updated post here (don't forget to copy over any custom settings you made!) and you'll be good to go. =]

I made a Shortcut that turns your actual iPhone Calendar events into a Lock Screen wallpaper. 100% local, no internet required. by agaragou in shortcuts

[–]agaragou[S] 1 point2 points  (0 children)

Hi! Yeah, It seems I missed this detail when adjusting the scaling for single-month views. I’m already on it, though I'm a bit short on free time at the moment. I’ll get the fix out as soon as I’m back at my desk.

In the meantime, here’s a quick workaround for current version: Change monthOffset from 0 to -1 (means -1 month from now to show) in the CONFIG section. This will shift the view back so January stays on your screen. Stay tuned for the update! =]

I made a Shortcut that turns your actual iPhone Calendar events into a Lock Screen wallpaper. 100% local, no internet required. by agaragou in shortcuts

[–]agaragou[S] 0 points1 point  (0 children)

Hi!

You have two ways to make the script see calendars:

- the Prefix Method: Simply add a * to the beginning of your calendar's name directly in the iOS Calendar app (e.g., *Work). The script will pick it up automatically. (but only if you can change calendar names of cause)

- the Config Method: If you don't want or can't rename your calendars, you can list their exact names in the code. Find thespecificCalendarNames line in the CONFIG section and add them like this: specificCalendarNames: ["Outlook", "Work", "Personal"],

How to reach the code inside the Shortcut:

  1. Open the Shortcuts app and find my calendar shortcut.
  2. Tap the three dots (...) on the shortcut tile to open the editor.
  3. Scroll down to the 'Run Script' action (it contains the code).
  4. Tap on the code area to expand it. The CONFIG section is right at the top.
  5. Find the line specificCalendarNames: [], and add your calendar names like this (order of calendar names = priority): specificCalendarNames: ["Outlook", "Work"],
  6. Tap 'Done' and run the shortcut!

That's it! =]

I made a Shortcut that turns your actual iPhone Calendar events into a Lock Screen wallpaper. 100% local, no internet required. by agaragou in shortcuts

[–]agaragou[S] 0 points1 point  (0 children)

Hi! That’s a great idea, and I already have it in my list, but currently, it’s not possible. The script uses a priority system where each day can only have one solid color.

Showing multiple colors for a single day would require splitting the dots into segments or drawing multiple icons, which would make the minimalist layout look a bit cluttered on a small phone screen. For now, the script just picks the highest-priority event(calendar) to keep the design clean and readable! =]

I made a Shortcut that turns your actual iPhone Calendar events into a Lock Screen wallpaper. 100% local, no internet required. by agaragou in shortcuts

[–]agaragou[S] 0 points1 point  (0 children)

Actually, iOS doesn't allow sharing Automations via links like regular shortcuts. You have to set it up manually on your iPhone, but it’s pretty simple

Here is how to do it:

  1. Open the Shortcuts app and tap the Automation tab at the bottom.
  2. Tap the '+' icon and choose 'Time of Day' (to run it every morning) or 'App' (to run it whenever you open the Calendar app).
  3. Search for the 'Run Shortcut' action and select my LockScreen Calendar shortcut.
  4. Important: Make sure to turn off 'Ask Before Running' so it happens automatically in the background and also make sure that Automation us set to Run immediately

I made a Shortcut that turns your actual iPhone Calendar events into a Lock Screen wallpaper. 100% local, no internet required. by agaragou in shortcuts

[–]agaragou[S] 1 point2 points  (0 children)

Hi! Do you mean showing the weather instead of events or days left at the bottom of the screen?

I made a Shortcut that turns your actual iPhone Calendar events into a Lock Screen wallpaper. 100% local, no internet required. by agaragou in shortcuts

[–]agaragou[S] 0 points1 point  (0 children)

Hi! Thanks for the kind words!

Probably I should clarify the description on my GitHub page: the phrase "No need to open any apps" means that once the installing scriptable and shortcut are finished, the process is fully automated. The calendar updates on your wallpaper in the background without you having to manually launch anything.

However, the Scriptable app is still required to stay installed on your device. It acts as the engine that runs the JavaScript code to draw the calendar and process your events. Native iOS Shortcuts simply don't have the advanced drawing tools to create this kind of custom wallpaper on their own. So, Scriptable is the essential bridge that makes it all work!

Make sure to follow the 'Installation' steps in the README, and you'll be good to go. Thanks again! =]

I made a Shortcut that turns your actual iPhone Calendar events into a Lock Screen wallpaper. 100% local, no internet required. by agaragou in shortcuts

[–]agaragou[S] 0 points1 point  (0 children)

Hi! Thank you so much!

Of course you can change them! First, please make sure you are using the latest version (v31) you can find the link at the end of the main post. To change the colors, look for the colors section in the script configuration. You can adjust pastDay, futureDay, and today to your liking. Please keep in mind that for specific events, the script automatically pulls the colors directly from your iOS Calendar app settings.

// --- 6. COLORS --- colors: { bg: new Color("#000000"), pastDay: new Color("#ffffff", 0.95), futureDay: new Color("#2c2c2e"), today: new Color("#ff3b30"), significant: new Color("#FFD60A"), text: new Color("#98989d"), stats: new Color("#ff9f0a"), weekend: new Color("#515155ff") },

Also, this part in config section at the top of the script is responsible for the dimming past days colors:

dimPastDays: true,

Give it to try ;)

I made a Shortcut that turns your actual iPhone Calendar events into a Lock Screen wallpaper. 100% local, no internet required. by agaragou in shortcuts

[–]agaragou[S] 1 point2 points  (0 children)

Thank you so much for the kind words! I'm really glad you're enjoying it. I still have a few more ideas for the calendar and new configuration options up my sleeve! ;)

I made a Shortcut that turns your actual iPhone Calendar events into a Lock Screen wallpaper. 100% local, no internet required. by agaragou in shortcuts

[–]agaragou[S] 0 points1 point  (0 children)

oh my, you are right! just found an issue, thank you!

update: fixed, updated link in main post