1
0
mirror of https://github.com/slgobinath/SafeEyes.git synced 2024-12-29 00:20:28 +01:00
SafeEyes/safeeyes/plugins/smartpause
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.json
dependency_checker.py Add smartpause support for swaywm (#464) 2021-09-29 07:53:08 -04:00
icon.png
plugin.py Add smartpause support for swaywm (#464) 2021-09-29 07:53:08 -04:00