Jump to content

Dark mode workflow - request but I am not able to do it


Recommended Posts

Posted

Hi there, I searched a bit online for some dark/light mode workflow in Alfred but I didn't find something completeley satisfying.

 

I want a workflow that when called via hotkey (something like dark on, dark off) does:
1) set dark mode on

2) set night shift on

3) set brightness to 75% or something similar to be given in input

4) change wallpaper (possibly to one of the predefined apple ones, with a bit a video

 

Is there any option to create such workflow?

Posted

@andrea.vuolo Welcome to the forum!

 

The easiest and most straightforward way to do this would probably be to just create a macOS Shortcut and trigger it with the Run macOS Shortcuts action. Every action you're looking to perform is available and can be added to a single macOS Shortcut. Then in Alfred, connect a Hotkey Trigger to a Run macOS Shortcuts action assigned to the macOS Shortcut you just created.

 

For the most part, these actions could also be performed with Automation Tasks, though for more granular control of things like Night Shift, installing a third-party CLI and activating it with a Run Script Action is a decent alternative. Otherwise the macOS Shortcuts route is probably the simplest way to go.

Posted

Thank you for your kind reply, I figure it out with macOs Shortcut and I dit what I needed

 

I have now two macos Shortcut, with right setting of night shift and the brightness I need
1) Dark Mode

2) Light Mode 

 

Is there a way, to call with the same keyword both of them, otherwise I need two hotkey shortcut and I don't like it

 

I mean:

dark on has to call dark mode

dark off has to call light mode

 

I was looking in some other workflow but I am not able to find the right solution

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...