Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a command-line argument to force a long break #498

Open
Noracsa2000 opened this issue Dec 27, 2022 · 1 comment
Open

Add a command-line argument to force a long break #498

Noracsa2000 opened this issue Dec 27, 2022 · 1 comment
Labels

Comments

@Noracsa2000
Copy link

Right now, there's a command-line argument to immediately take a break: "safeeyes -t".

However it's impossible to trigger a specific type of break, so you randomly get either a short or a long break.

Is it possible to implement a command-line argument, so I can force a long break like "safeeyes -tl"?

I have two use cases:

  1. I'd like to have long breaks at specific times, for example each hour at xx:45 for 15 minutes. I could create a Cron job to trigger the command at that time. However, this requires me to trigger a specific break.

  2. I'd like to define a global hotkey for taking long breaks. For me it's easier to voluntarily push a hotkey in order to take a break while procrastinating, than to do it by navigating the mouse to the Safe Eyes menu. Maybe it's because it's faster via hotkey, so my brain cannot intervene.

Thank you very much for your consideration and especially for creating such a great piece of software.

@linghutiantian
Copy link

+1 for this feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants