Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add automation to enable/disable a Focus #30

Open
7596ff opened this issue May 24, 2022 · 4 comments
Open

Add automation to enable/disable a Focus #30

7596ff opened this issue May 24, 2022 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@7596ff
Copy link

7596ff commented May 24, 2022

I'd like TomatoBar to enable the work focus when the timer starts, and turn it off when it ends. I looked into Automator for this, but I'm not familiar enough with its tooling to do this.

@ivoronin
Copy link
Owner

I'd take a look at this, but as far as I know macOS focus feature doesn't have a public API yet, nor it cannot be controlled from a sandboxed app.

@ivoronin ivoronin added the enhancement New feature or request label May 24, 2022
@ivoronin ivoronin added this to the v3.6 milestone May 24, 2022
@hrvstr
Copy link

hrvstr commented Dec 13, 2022

Other apps seem to use a helper shortcut to do this:
https://github.com/arodik/macos-focus-mode

@FlorianLoch
Copy link

That really would be a very helpful feature! So far I couldn't find any Pomodoro timer supporting this - although it should be possible, looking at the JS code linked.

Or wouldn't this be a viable approach because of the sandbox (I develop on macOS but I am not a macOS developer)?

@aronschmidt
Copy link

Here's another example on how it could be done: https://lukado.medium.com/productivity-tip-pomodoro-donotdisturb-applescript-c8a069e92bb4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants