Commit Graph

24 Commits

Author SHA1 Message Date
embar- a52eb0a0ed
Use Optional and Union instead of "|" for Python 3.6 compatibility 2024-10-13 09:46:36 +03:00
deltragon 6edb34344f PluginManager: retry loading trayicon plugin when service is missing 2024-08-21 15:40:04 +02:00
deltragon 2c7f193302
add ability to show link in plugin dependencies, use for trayicon 2024-07-17 18:55:12 +02:00
deltragon 8b1607294c
plugins: add required_plugins setting with popup, use for trayicon 2024-07-17 18:55:11 +02:00
Tero Paloheimo 5c0884facb Remove use of distutils
As of Python 3.12 setuptools is no longer installed by default and
if setuptools is not installed distutils is not found and SafeEyes
fails to start.

Furthermore distutils is deprecated and should thus not be used
anymore. The packaging module provides a replacement for LooseVersion
and it is also recommended by PEP 632 [1].

Also update required Python version for Debian to 3.12 or newer.

[1] https://peps.python.org/pep-0632/#migration-advice
2024-06-26 21:01:09 +03:00
AdamPS 903d407faf Improvements to "interpret idle as break" #551 2023-11-30 18:04:44 +00:00
AdamPS 9d30def057 Display next long break #374 2023-11-29 14:00:29 +00:00
Ilario Gelmetti 5a993a4d60
Fix broken startup symlinks (#531)
* utility: create_startup_entry check link health

* model: init always run create_startup_entry

* utility: initialize_safeeyes don't call create_startup_entry

* utility: add force option to create_startup_entry

* model: do not create autostart, only repair broken

* utility: fix comment
2023-08-18 11:15:30 -04:00
AdamPS 201e6d2982
Fix incorrectly skipped long breaks #443 (#444)
* Improve error message to include information from the exception

* #347 Take short or long breaks from tray

Correction: get_break() should not alter the break queue.

* Fix incorrectly skipped long breaks
2023-01-24 17:22:51 +00:00
AdamPS 9a76aa4211 #347 Take short or long breaks from tray
Correction: get_break() should not alter the break queue.
2023-01-24 16:49:30 +00:00
Gobinath 9e64e65fce Add sub-menu to take any, short or long breaks 2023-01-23 15:28:57 +00:00
Gobinath bd4be002e1 Fix error if there are no long breaks 2021-02-17 09:57:41 -05:00
Gobinath 93d72cec72 Fix replacing breaks with config version upgrade 2021-02-11 08:56:19 -05:00
ACactUs f9665b03ae
Add random order of breaks (#418)
* Added glade switch

* Added random order setting, reimplemented queue

* new_cycle fix

* build queue randomly

* Glade. Moved switch up

* added .pot translation

* trigger new_cycle each long break interval

* fix long break time

* shuffle queue when all breaks taken
2021-02-08 11:54:56 -05:00
Gobinath 2736321048
Reset breaks after being idle longer than a long break duration (#386) 2020-10-25 08:44:29 -04:00
Gobinath 5c554fffc1 Refactor modules and classes 2020-03-18 08:33:11 -04:00
Gobinath b927113c76 Settings dialog reset Safe Eyes only if there are any changes. Fix #200 2019-02-21 09:02:58 -05:00
Gobinath 2119b62c81 Fix no action button icon #296 2019-02-04 14:48:57 -05:00
Gobinath 77d8aa25b3 Replace style sheet with config update 2019-01-19 12:25:19 -05:00
Gobinath bfe4720383 Customize tray action icons 2019-01-16 18:15:31 -05:00
Gobinath b6c8b504af
Feature Media Control plugin and toolbar support (#295)
* Add toolbar actions to the break screen

* Add media control plugin
2019-01-12 16:12:50 -05:00
Gobinath 107670f9c0
Override break intervals (#294)
* Add break queue

* Add remember last break option

* Add option to override interval

* Increase duration limit for promodo mode
2019-01-11 20:42:51 -05:00
Gobinath 751d109c2a Add sorce upgrade selected keys 2017-10-16 19:01:12 -04:00
Gobinath 5de6869309 Safeeyes 2.0.0 (#194) 2017-10-07 09:10:31 -04:00