mirror of
https://github.com/slgobinath/SafeEyes.git
synced 2025-01-16 02:30:51 +01:00
ad041c7855
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. |
||
---|---|---|
.. | ||
config | ||
glade | ||
platform | ||
plugins | ||
resource | ||
ui | ||
__init__.py | ||
__main__.py | ||
core.py | ||
model.py | ||
plugin_manager.py | ||
rpc.py | ||
safeeyes.py | ||
utility.py |