hovancik / stretchly

The break time reminder app
https://hovancik.net/stretchly
BSD 2-Clause "Simplified" License
4.51k stars 436 forks source link

[Feature request]: Separate idle timers for long- and mini-breaks #1443

Open kazerniel opened 6 months ago

kazerniel commented 6 months ago

Version

Existing requests

Advanced Preferences

What operating system are you using?

Windows

Operating System Version

Win 10 22H2

Problem description

It would be handy if I could set the inactivity reset timer separately for long- and mini-breaks.

The use case:

I used to use only mini-breaks, but recently started using long breaks as well. I have their lengths set at 1 min of mini-break every half hour and 5 mins of long break every hour.

In the past I've had my naturalBreaksInactivityResetTime set to 1 minute to match the mini-break length, but now that I added long breaks into the mix, this setting caused long breaks to just never trigger because if I walked away from my PC for the mini-break, that reset the long break as well.

I've tried setting naturalBreaksInactivityResetTime to 5 minutes to match the long break instead, but now what happens is that if outside of a break I step away from my PC for, say, 2 minutes, the mini-break timer may trigger just a few minutes after resuming activity again, which is somewhat disrupting to my workflow.

Possible solution

I'd like to be able to set both mini- and long break idle timers to match their break length.

Alternative solutions

Can't really think of anything.

Additional information

No response

Code of Conduct

hovancik commented 4 months ago

Thanks for the feedback, this makes sense. If anyone would want to contribute to Stretchly, this could be done.