cdepillabout / cdepillabout/break-time

discourage the use of the pause functionality, and prevent use when close to break time

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Rust
Stars
22
Forks
4
PR merge metrics
No merged PRs in 30d

Description

The purpose of break-time is to force the user to take frequent breaks, and not sit for too long.

break-time has a feature where the user can right click on the systray icon and pause the break timer. When the break-timer restarts, it starts counting off again from the original interval between breaks.

For example, imagine using break-time with the break interval set to 50 minutes. You start break-time and work for 30 minutes. You have 20 minutes left before the break starts. You then click pause. You immediately click resume. You now have another 50 minutes until the next break.

Having a function to allow the user to pause break-time goes against the purpose of break-time.

It would be nice to have some sort of way of discouraging use of the pause functionality. Here are a couple possibilities:

- Add a config option to disable use of pause.
- Whenever the user tries to pause, pop up an annoying message scolding them for pausing. This could also be similar to the actual break time screen, where the user has to click "Okay" a bunch of times until they are actually able to pause.
- disable use of pause when close to a break (for instance, when there are only 5 minutes until the next break)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.