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]: Shortcut to Pauze breaks for a period #1457

Open tomgoos opened 4 months ago

tomgoos commented 4 months ago

Version

Existing requests

Advanced Preferences

What operating system are you using?

Windows

Operating System Version

Windows 10

Problem description

I would like to set a shortcut key for the Pauze breaks options. If I have a meeting or I am talking someone through something I have on screen it is convenient to Pauze the breaks for a while. It would be cool if this could be done using a keyboard shorcut image

Possible solution

E.g add options "pauseBreaks30mToggleShortcut": "", "pauseBreaks1hToggleShortcut": "CmdOrCtrl+P", "pauseBreaks2hToggleShortcut": "", "pauseBreaks5hToggleShortcut": "",

or alternatively add option: "pauzeBreaksPostponeTime": 120000, (Use "" for infinite) To use in combination with the existing "pauseBreaksToggleShortcut": "CmdOrCtrl+P",

Alternative solutions

I am now using "pauseBreaksToggleShortcut": "CmdOrCtrl+P", The drawback is that I may forget to turn it on again.

Additional information

Thanks for your consideration! Great tool!

Code of Conduct

hovancik commented 4 months ago

Hi there and thanks for the feedback. I like the first solution you described, I think it makes more sense then to configure pause time. If anyone wants to contribute, this should be easily done.

evgenyneu commented 1 month ago

Hi @hovancik, can I work on this please?

hovancik commented 1 month ago

@evgenyneu sure thing :) how would you like to implement it? (in a sense: let's agree on solution first, then do the coding part :) )

evgenyneu commented 1 month ago

Sure, are you still in favor of this solution proposed by @tomgoos?

"pauseBreaks30mToggleShortcut": "",
"pauseBreaks1hToggleShortcut": "CmdOrCtrl+P",
"pauseBreaks2hToggleShortcut": "",
"pauseBreaks5hToggleShortcut": "",
hovancik commented 1 month ago

Yeah I think adding those to pauseBreaksToggleShortcut makes the most sense. Plus untilMorning could also be added.

evgenyneu commented 1 month ago

Makes sense, so it matches as the Pause Breaks menu. Ok, I'll do that then! 👍