stretchly icon indicating copy to clipboard operation
stretchly copied to clipboard

[Feature request]: Smaller intervals for mini breaks

Open herrbrixter opened this issue 6 months ago • 3 comments
trafficstars

Version

  • [x] I'm using version 1.17.2

Existing requests

  • [x] I've checked Existing requests

Advanced Preferences

  • [x] I've checked Advanced Preferences

What operating system are you using?

Windows

Operating System Version

Windows 11

Problem description

I'd like smaller intervals for mini breaks. Currently, mini breaks can have durations in multiples of 5 minutes. Ex. 15, 20, 25 minutes.

For long durations, a difference of 5 minutes is not significant. A break every 30 minutes is not very different from a break every 35 minutes. A break happens roughly twice every hour.

For smaller durations, 5 minutes difference is very significant. A break every 5 minutes happens 12 times every hour but a break every 10 minutes happens 6 times every hour. There is no middleground between 6 and 12 times.

5 minute interval = 12 times every hour 10 minute interval = 6 times every hour 15 minute interval = 4 times every hour

Possible solution

Add additional increments 6, 7, 8 and 12 minutes so there are smoother break frequencies per hour.

5 minute interval = 12 times every hour 6 minute interval = 10 times every hour 7 minute interval = 8 times every hour 8 minute interval = 7 times every hour 10 minute interval = 6 times every hour 12 minute interval = 5 times every hour 15 minute interval = 4 times every hour

Alternative solutions

I can set it in the preference file.

Additional information

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

herrbrixter avatar May 04 '25 10:05 herrbrixter

FYI, as a workaround you can edit the config file directly (~/Library/Application Support/Stretchly/config.json on MacOS, not sure about Windows).

It doesn't seem to accept arbitrary values (e.g., break intervals of less than 1 minute were not accepted), but it's much more flexible than the UI).

The below corresponds to 5 second microbreaks every 1 minute (all values in milliseconds). Confirmed working.

Image

nisc avatar May 18 '25 00:05 nisc

@nisc Thanks! I've done it already for 6 minutes. It would be nice though to have it available in the UI so less tech savvy people can configure it too.

herrbrixter avatar May 18 '25 02:05 herrbrixter

@nisc Thanks! I've done it already for 6 minutes. It would be nice though to have it available in the UI so less tech savvy people can configure it too.

Yeah agree.

nisc avatar May 18 '25 07:05 nisc