automation – Find out how to set macOS Sonoma Darkish Mode to work to your schedule?


You can use Shortcuts to regulate the darkish/gentle look utilizing “Set Look” (e.g. Is there a manner of toggling darkish mode utilizing the Shortcuts app?). However you’d want one thing that triggers this robotically as a result of this performance does not appear to be built-into Shortcuts, however I discovered this apparently free (has in-app purchases although, so perhaps they make you pay for some options, or solely supply a free trial) Shortery app that appears like it may be used to perform that with out an excessive amount of hassle utilizing “Time” as a set off.

Shortery features

Alternatively I discovered this Medium article which makes use of day by day Calendar occasions to open an Automator utility that runs the Shortcut. That is accomplished by making a recurring calendar occasion and setting a customized alert on it with “Open file” chosen:

custom Calendar event + alert

As an alternative of utilizing Automator, you would choose File > Add to Dock when enhancing the Shortcut, after which that can create an utility in ~/Purposes/YourShortcutName which you would hyperlink to the calendar occasion.

I’ve tried out this Calendar strategy (Sonoma, 14.5, however I would guess it’d work the identical on older variations as nicely) and it labored nicely. You might need to embody a Notification step or one thing within the Shortcut. You can both have one Shortcut that units the looks to gentle, and one other that units it to darkish, with separate calendar occasions, or you would put the logic inside a single Shortcut.

This is a working instance of a attainable mixed shortcut:

combined shortcut

(Word I initially had “10:00” as the beginning time, however that was being interpreted as 10 pm regardless of my system being set to 24 hour time, so appears it is best to only put AM for ambiguous instances).

Additionally, you might not need these day by day occasions cluttering up your calendar, however you possibly can create a brand new calendar, then simply uncheck it from the listing so it is not displayed.

Word nevertheless that in case your Mac is not working when the Calendar alert fires I do not suppose it will work. However you would even have arrange your customized Shortcut app to “Open at Login”. That might not run whenever you’re simply unlocking the Mac although, so then may simply have to make use of Shortery.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *