Would you like to change #focus modes from the #Mac launcher app #Alfred?

I have just published a new Alfred workflow that might just help with that. It dynamically lists your available modes and lets you toggle them on or off with ease and without having to do things like create a switching shortcut every time you add or modify a focus mode.

There's an intro blog post and a documentation page too:
https://www.thoughtasylum.com/2026/02/14/changing-focus/
https://www.thoughtasylum.com/alfred/alfred_lens/

@sylumer Oddly, the error appeared only after I ran Lens once in Alfred. But that first run, didn't produce a list of focus modes (and yes the shortcut was installed), but rather gave me options for the Extras, Documentation, Configuration, etc.
The solution was to go into System Settings/Privacy and Security and "enable" jq, followed by a couple of more dialog boxes, and then all was good. (2/2)

@rnailo In fact, I will take a look at rewriting the part I'm using jq for in JXA to try and remove the dependency completely. Should be possible. I just need to experiment a little.

Thanks for flagging it.

@rnailo I’ve just pushed a 1.1.0 version. This removes the jq dependency and incorporates a check and some guidance for full disk access. Turns out that a file I was checking is covered by TCC (Transparency Consent and Control) and so needs that elevated disk access permission to read it. I’d not noticed as I had already given Alfred full disk access - probably just for file navigation.

Running `update lens` in Alfred should pick it up.

Thanks again.

@sylumer Thank you!. The update worked just fine