jason0x43 / alfred-toggl

Alfred Workflow for interacting with the Toggl time tracking service
MIT License
368 stars 16 forks source link

How to setup a pomodoro timer? #33

Open zzantares opened 7 years ago

zzantares commented 7 years ago

Hello, using the desktop app for Mac, there's an option to enable a Pomodoro timer, after 25min, starts a break of 5min, and then repeats, how could I setup this using this workflow?

Thanks for the help!

jason0x43 commented 7 years ago

Hmmm...this will require some internal changes in the workflow; it's not something that could be done in the workflow editor. The workflow will need to kick off a background process that waits for 25 minutes, then stops your current timer and independently posts a system notification letting you know what happened. Then it would need to wait for 5 more minutes and either restart the stopped task or ask you what you'd like to do.

zzantares commented 7 years ago

Thanks for taking it into consideration, it will be great to add support for this.

In the meantime I'll just use the desktop version when actually doing pomodoros, otherwise I'll track time with the workflow.

Thanks!