SafeEyes/safeeyes
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
..
config Translated using Weblate (Swedish) 2021-08-18 02:37:20 +02:00
glade Release v2.1.3 2021-04-19 21:32:50 -04:00
platform Create desktop entries from the code 2020-12-25 19:22:57 -05:00
plugins Add smartpause support for swaywm (#464) 2021-09-29 07:53:08 -04:00
resource Change the order of sound clips 2019-02-12 06:23:19 -05:00
ui Add random order of breaks (#418) 2021-02-08 11:54:56 -05:00
__init__.py Initial try to package SafeEyes using setuptools 2017-03-10 23:35:06 +01:00
__main__.py Release v2.1.1 2020-12-25 19:28:38 -05:00
core.py Reset breaks after being idle longer than a long break duration (#386) 2020-10-25 08:44:29 -04:00
model.py Fix error if there are no long breaks 2021-02-17 09:57:41 -05:00
plugin_manager.py Add cron expression to reset health stats 2020-12-20 10:06:34 -05:00
rpc.py Refactor modules and classes 2020-03-18 08:33:11 -04:00
safeeyes.py Release v2.1.3 2021-04-19 21:32:50 -04:00
utility.py Add smartpause support for swaywm (#464) 2021-09-29 07:53:08 -04:00