SafeEyes icon indicating copy to clipboard operation
SafeEyes copied to clipboard

Display next long break

Open AssafKatz3 opened this issue 4 years ago • 6 comments

Hi, Currently only time of next short break is displayed, optional display of next long break will be great. Thanks

AssafKatz3 avatar Sep 22 '20 06:09 AssafKatz3

Also would be great to have a menu item "Take a long break now". This seems closely related to the original issue so I thought it was worth combining. However I can make a new issue if you prefer.

AdamPS avatar Oct 25 '20 09:10 AdamPS

Ah sorry there is already an issue for my comment: #347

AdamPS avatar Oct 25 '20 09:10 AdamPS

I would donate €30 for this one.

AdamPS avatar Oct 25 '20 09:10 AdamPS

Hi, Lets continue our discussion here. What if we show an info like this:

Next short break at ... and long break at ...

or

Next short break at ...
Next long break at ...

(whatever looks good)

Would that solve your requirement? Showing both times require some changes in the core API because right now plugins get the information only about the next break. We need to send the information about the next short break and next long break.

slgobinath avatar May 13 '21 01:05 slgobinath

Hi, @slgobinath Yes, it will solve my problem. The request of @AdamPS will be great also. I finally switch from SafeEyes due to this issue. Thanks

AssafKatz3 avatar May 13 '21 04:05 AssafKatz3

Thanks @slgobinath. Yes showing both breaks in the menu sounds good to me thanks. I would also like to be able to choose to show the long break time in the tray icon instead of the next break time please. It was working like that in my pull request - I added a core API function get_break_time(self, break_type = None).

AdamPS avatar May 13 '21 10:05 AdamPS