Commit Graph

849 Commits

Author SHA1 Message Date
麋悟BigELK176 a59f3770dc
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/zh_Hant/
2024-01-30 15:01:49 +01:00
Tero Paloheimo e995446cfc Fix some typos 2023-12-30 20:01:40 +02:00
AdamPS 3e89aa4fcf Improvements to "interpret idle as break" #551 (correction) 2023-12-20 20:08:11 +00:00
AdamPS 903d407faf Improvements to "interpret idle as break" #551 2023-11-30 18:04:44 +00:00
Alyssa Rosenzweig 777d48603d
Fix with python3.12 (#544)
imp is deprecated in 3.4 and removed in 3.12. this caused safe eyes to
break on upgrading to fedora 39

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
2023-11-30 18:01:58 +00:00
AdamPS cbfc0cc133 Local function names should match #550 2023-11-30 14:57:37 +00:00
AdamPS edb5b70b53 Improvements to health statistics #549 2023-11-29 14:00:29 +00:00
AdamPS dd190d0543 Update comment with list of methods 2023-11-29 14:00:29 +00:00
AdamPS 9d30def057 Display next long break #374 2023-11-29 14:00:29 +00:00
Almaz Mannanov 0cce71070b
Translated using Weblate (Russian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ru/
2023-11-26 00:02:15 +00:00
Antonín Kříž a33235b11b Correctly detect all possible GNOME sessions in screen saver plugin lock feature and in utility.py 2023-11-13 16:01:57 +01:00
Hosted Weblate e8bf389da8
Merge branch 'origin/master' into Weblate. 2023-10-31 16:04:52 +00:00
Eryk Michalak e8a254d74e
Translated using Weblate (Polish)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/pl/
2023-10-31 16:04:50 +00:00
Kryštof Jelínek c37e9db6db
Translated using Weblate (Czech)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/cs/
2023-10-31 16:04:49 +00:00
akhil_s 776a8b81de Fix 'initialize_logging' function spelling 2023-10-16 10:17:56 -04:00
Hosted Weblate c4675b743d
Merge branch 'origin/master' into Weblate. 2023-10-13 04:15:40 +00:00
Novak Urosevic a33f317241
Translated using Weblate (Serbian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/sr/
2023-10-13 06:15:38 +02: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
Milan Šalka 068771d5fd
Translated using Weblate (Slovak)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/sk/
2023-08-10 21:53:26 +02:00
Salif Mehmed b04d49ed34
Translated using Weblate (Bulgarian)
Currently translated at 7.7% (9 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/bg/
2023-08-05 20:48:05 +02:00
undefiened a54c16476e Removed copyright 2023-07-09 01:17:08 +02:00
undefiened bc7ae63120 Added an icon 2023-07-09 00:59:20 +02:00
Hosted Weblate e6112a87a9
Merge branch 'origin/master' into Weblate. 2023-07-08 20:48:00 +02:00
Dmitriy Q b838f3c5fe
Translated using Weblate (Russian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ru/
2023-07-08 20:47:58 +02:00
Gobinath Loganathan bd18d33c90 Prepare v2.1.6 2023-07-04 20:09:53 -04:00
Hosted Weblate 1a9ebfb2db
Merge branch 'origin/master' into Weblate. 2023-07-04 22:53:46 +02:00
Sebastian Pipping f26bcc5af2
Translated using Weblate (German)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/de/
2023-07-04 22:53:44 +02:00
undefiened 3428759a85 Fixed comment 2023-05-28 21:07:55 +02:00
undefiened bd51aed724 Added plugin for limiting the number of consecutive skips or postpones 2023-05-28 13:54:09 +02:00
Onur Alp Akin 684d16265a
Reverse-DNS scheme for icons & Broken initialize logic fix & Add appstream (#519)
* Add appstream

* rename platform files reverse-dns format

* rename debian install file reverse-dns format

* rename usages reverse-dns format

* Respect XDG_CONFIG while initializing safeeyes

Instead of using custom variable to define target; Continue respecting XDG specs
https://github.com/slgobinath/SafeEyes/issues/432#issuecomment-883829334

* move appstream under platform

* add flathub badge

* update flathub badge & flatpak installation
2023-05-10 05:45:38 -04:00
Sebastian Pipping 45a633d31f
Display a traceback of plugin loading errors when --debug is given (#506) 2023-04-17 20:06:26 -04:00
Sebastian Pipping 06d8f491c4
Fix support for Python 3.11 (fixes #491) (#505)
Co-authored-by: tibequadorian <tibequadorian@posteo.de>
2023-04-17 20:06:11 -04:00
Ilario Gelmetti 682a027d04
Remove executable permission from safeeyes.desktop (#512) 2023-04-17 20:02:26 -04:00
AHOHNMYC cae19b0f28
Translated using Weblate (Russian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ru/
2023-03-22 17:41:13 +01:00
Yi Yunseok 0874be58c2
Translated using Weblate (Korean)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ko/
2023-02-17 06:35:26 +01:00
Luna Jernberg d1a9f7d0b5
Translated using Weblate (Swedish)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/sv/
2023-02-11 12:39:43 +01:00
Hosted Weblate 339ed40f4a
Merge branch 'origin/master' into Weblate. 2023-02-03 07:02:34 +01:00
Yi Yunseok 7bde5d0368
Translated using Weblate (Korean)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ko/
2023-02-03 07:02:32 +01: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
AdamPS 788e2b43af Improve error message to include information from the exception 2023-01-23 15:51:52 +00:00
Gobinath 9e64e65fce Add sub-menu to take any, short or long breaks 2023-01-23 15:28:57 +00:00
Hosted Weblate b90349ab10
Merge branch 'origin/master' into Weblate. 2023-01-07 12:49:30 +01:00
Porrumentzio a158587311
Translated using Weblate (Basque)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/eu/
2023-01-07 12:49:28 +01:00
Gobinath Loganathan 375bd9d737 Bump the version to 2.1.5 2023-01-05 19:11:06 -05:00
meztihn bcecc016dd DND: Fix window class matching for names with spaces 2023-01-05 19:02:54 -05:00
Dmitriy Q 32cfc401f3
Translated using Weblate (Russian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ru/
2022-12-21 06:47:11 +01:00
Hosted Weblate 9123562d5e
Merge branch 'origin/master' into Weblate. 2022-11-27 00:54:41 +01:00
Minh P 06d4aa5afe
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/vi/
2022-11-27 00:54:37 +01:00
Gobinath Loganathan 7f17dabbfe Bump version to 2.1.4 2022-11-20 17:22:47 -05:00
Anjan Momi d3594bdb8f
Do not fail if gettext.bindtextdomain not working (#485) 2022-10-13 11:53:26 -04:00
Anjan Momi dd16395471
Check if using wayland via WAYLAND_DISPLAY env variable (#484)
My distro does not install loginctl. I have implemented another easy
condition for wayland.

https://stackoverflow.com/questions/45536141/how-i-can-find-out-if-a-linux-system-uses-wayland-or-x11/45537237#45537237
2022-10-13 11:52:47 -04:00
Gontzal Manuel Pujana Onaindia 29a1e15192
Translated using Weblate (Basque)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/eu/
2022-09-29 00:17:19 +02:00
Dmitriy Q 6ac60ec17c
Translated using Weblate (Russian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ru/
2022-09-08 06:17:43 +02:00
calbasi 2f83647d74
Translated using Weblate (Catalan)
Currently translated at 60.3% (70 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ca/
2022-08-08 23:25:26 +02:00
Danial Behzadi 71df387773
Translated using Weblate (Persian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/fa/
2022-07-07 12:18:56 +02:00
AHOHNMYC 6d66941058
Translated using Weblate (Russian)
Currently translated at 99.1% (115 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ru/
2022-06-01 14:19:39 +02:00
Mohamed Omran 01f247328e
Translated using Weblate (Arabic)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ar/
2022-05-24 19:15:11 +02:00
Mohamed Omran c04a2d2009
Translated using Weblate (Arabic)
Currently translated at 83.6% (97 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ar/
2022-05-23 18:19:42 +02:00
Hosted Weblate 43ed01d3e4
Merge branch 'origin/master' into Weblate. 2022-04-17 18:06:45 +02:00
menom cdcf5d7918
Translated using Weblate (Slovak)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/sk/
2022-04-17 18:06:44 +02:00
Karl-Philipp Richter 292ad62729
Use HTTPS where users potentially open the URL in a browser (#475) 2022-04-01 09:23:36 -04:00
Pavel Borecki ed69ddde36
Translated using Weblate (Czech)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/cs/
2022-03-06 21:59:25 +01:00
Danial Behzadi 4b318e4895
Translated using Weblate (Persian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/fa/
2022-01-21 09:56:33 +01:00
albanobattistella 8483a3db87
Translated using Weblate (Italian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/it/
2022-01-16 13:55:20 +01:00
AO Localisation Lab 08dc41f352
Translated using Weblate (French)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/fr/
2022-01-11 16:55:08 +01:00
albanobattistella 7ef644e6a2
Translated using Weblate (Italian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/it/
2022-01-02 17:53:28 +01:00
Hosted Weblate 5489d952cf
Merge branch 'origin/master' into Weblate. 2021-11-26 02:51:35 +01:00
Gralias 846022b8e2
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/vi/
2021-11-26 02:51:33 +01:00
Ankit Raj Pandey ed60dd1970
Directly track running swayidle process (#470)
We actually don't need to use a separate variable to track the status of
the spawned swayidle process, since we can poll the status directly from
the process object. This increases robustness against e.g. a killed
swayidle process, which would cause safeeyes to be permanently disabled
until a restart.
2021-11-16 08:52:12 -05:00
Itrych 2e7df5c880
Translated using Weblate (Russian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ru/
2021-11-03 15:15:27 +01:00
Hosted Weblate b673752f8b
Merge branch 'origin/master' into Weblate. 2021-10-10 07:05:36 +02:00
Frank.wu b70241ddda
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/zh_Hans/
2021-10-10 07:05:35 +02:00
Ankit Raj Pandey ad041c7855
Add smartpause support for swaywm (#464)
If the current desktop environment is sway, the smartpause plugin will
spawn a swayidle process that outputs the current time on idle and
resume. Using that info, we can determine:

1. Whether the system is currently idle (idle timestamp > active timestamp)
2. How many seconds the system has been idle (current timestamp - idle timestamp)

Since swayidle uses the KDE idle protocol, it might be possible to
extend this to Wayland KDE as well.
2021-09-29 07:53:08 -04:00
mullerdavid c784000e69
Fix broken tray icon on Debian 11 (#461)
* Tryicon plugin Ayatana library fallback

* Updating debian dependencies

* Updated readme, adding Ayataha Appindicator
2021-09-21 08:20:23 -04:00
Luna Jernberg a257c0993d
Translated using Weblate (Swedish)
Currently translated at 99.1% (115 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/sv/
2021-08-18 02:37:20 +02:00
Tymofii Lytvynenko c61da87600
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/uk/
2021-08-18 02:37:19 +02:00
Tymofii Lytvynenko 583471c9a0
Translated using Weblate (Ukrainian)
Currently translated at 97.4% (113 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/uk/
2021-08-16 00:33:21 +02:00
Yogesh 541f39fdc0
Translated using Weblate (Kannada)
Currently translated at 16.3% (19 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/kn/
2021-07-30 19:35:18 +02:00
Allan Nordhøy 858e8288df
Translated using Weblate (Norwegian Bokmål)
Currently translated at 96.5% (112 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/nb_NO/
2021-07-30 19:35:18 +02:00
J. Lavoie 330e343a04
Translated using Weblate (English (United States))
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/en_US/
2021-07-04 09:32:41 +02:00
Yaron Shahrabani f26fb07ffc
Translated using Weblate (Hebrew)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/he/
2021-05-23 11:32:10 +02:00
Hosted Weblate 54eab4eba0
Merge branch 'origin/master' into Weblate. 2021-05-21 17:32:51 +02:00
Jorge Maldonado Ventura e65426ece4
Translated using Weblate (Esperanto)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/eo/
2021-05-21 17:32:49 +02:00
Porrumentzio 90458a8ce4
Add parameters on Basque translation (#447)
fixes #441
2021-05-17 07:22:32 -04:00
Gobinath 736f15e907 Release v2.1.3 2021-04-19 21:32:50 -04:00
Cyrinux 6e07de7c22
donotdisturb: Add wayland fullscreen detection (#427)
* [wayland] detect fullscreen with wlrctl

Will work with the next sway release or current master branch.

* Add dependency_checker
2021-04-18 15:47:53 -04:00
José Vieira f1cf3c01b7
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/pt_BR/
2021-04-18 12:26:52 +02:00
José Vieira 2959a2acac
Translated using Weblate (Portuguese)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/pt/
2021-04-18 12:26:50 +02:00
Gobinath fbff54462c Add Portuguese (Brazil) language 2021-04-15 20:27:15 -04:00
Porrumentzio 8b820a855a
Translated using Weblate (Basque)
Currently translated at 99.1% (115 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/eu/
2021-04-15 14:26:51 +02:00
Porrumentzio 0b66e17648
Translated using Weblate (Basque)
Currently translated at 21.5% (25 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/eu/
2021-04-04 19:26:46 +02:00
Gobinath 4b72a024cc Add Basque language support 2021-03-31 17:39:01 -04:00
Adolfo Jayme Barrientos 9b3e7b247d
Translated using Weblate (Spanish)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/es/
2021-03-25 09:29:35 +01:00
jan madsen 7e53d7d68b
Translated using Weblate (Danish)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/da/
2021-03-16 21:02:57 +01:00
Dmitriy Q 727968d56d
Translated using Weblate (Russian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ru/
2021-03-11 13:02:49 +01:00
Eric d866130058
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/zh_Hans/
2021-03-07 10:50:30 +01:00
J. Lavoie 28160343f8
Translated using Weblate (German)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/de/
2021-03-07 10:50:30 +01:00
Lee Yunseok 79765dd310
Translated using Weblate (Korean)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ko/
2021-02-24 08:50:28 +01:00
ssantos a289786992
Translated using Weblate (Portuguese)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/pt/
2021-02-24 08:50:28 +01:00