Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify xidlehook logic significantly #65

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

jD91mZM2
Copy link
Owner

https://gitlab.com/jD91mZM2/xidlehook/-/merge_requests/9

K.I.S.S.

Is this sane?

I'm losing my sanity over all the features this thing needs, and at this point I don't think there exists an optimal algorithm that sleeps the longest possible. I tried, I really tried, but the truth is the user could cause activity at any point, and timers can be enabled/disabled at any point, and that combination means a timer that is in the middle of everything could in theory be activated by all other timers disabling and the user could go active and then idle again and it could be triggered.

Don't merge this on GitHub. GitLab is the primary repository, but I'm posting it here so more people can see it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant