Commit Graph

4 Commits

Author SHA1 Message Date
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
Gobinath 25f4aa626f Add cron expression to reset health stats 2020-12-20 10:06:34 -05:00
Gobinath 5c554fffc1 Refactor modules and classes 2020-03-18 08:33:11 -04:00
Gobinath 098f320aa1 Optimize smart pause in wayland feature 2019-07-13 22:08:15 -04:00