TomatoBar icon indicating copy to clipboard operation
TomatoBar copied to clipboard

Add automation to enable/disable a Focus

Open 7596ff opened this issue 2 years ago • 4 comments

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.

7596ff avatar May 24 '22 15:05 7596ff

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 avatar May 24 '22 15:05 ivoronin

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

hrvstr avatar Dec 13 '22 09:12 hrvstr

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)?

FlorianLoch avatar Feb 01 '23 09:02 FlorianLoch