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]: Modify "Pause Breaks" options #1462

Open vardecab opened 3 months ago

vardecab commented 3 months ago

Version

Existing requests

Advanced Preferences

What operating system are you using?

macOS

Operating System Version

macOS Sonoma 14.4.1

Problem description

Hello! Thanks for creating this super useful software :)

I was wondering if it's possible to change these times here?

image

I'd like to have additional options like:

I did take a look at other requests and didn't find anything. I've checked README and also config.json but either the option to modify is there and I'm blind :) or it wasn't implemented.

Possible solution

I'd like to have additional options like:

Alternative solutions

If adding additional options is not feasible then there could be entries in config.json to modify the default values.

Additional information

No response

Code of Conduct

hovancik commented 3 months ago

Hi and thanks for the feedback. As you say, currently it is not possible to cofigure that.

You can set custom pause when using command line

        stretchly pause                                  Pause breaks indefinitely
        stretchly pause -d 60                            Pause breaks for one hour
        stretchly pause -d 1h                            Pause breaks for one hour
        stretchly pause -d 1h20m                         Pause breaks for one hour and twenty minutes

On macOS, you need to use full path, ie: /Applications/Stretchly.app/Contents/MacOS/Stretchly pause -d 5m

I prefer not to add new options there to keep it simple but I guess the options in tray could be made configurable so that people can set their preferable variables.