jD91mZM2 / xidlehook

GitLab: https://gitlab.com/jD91mZM2/xidlehook
MIT License
382 stars 33 forks source link

Doesn't exit when X11 session is terminated #67

Open wavexx opened 3 years ago

wavexx commented 3 years ago

I noticed that if X exits xidlehook doesn't stop but still stays alive indefinitely.

xidlehook should probably detect this and exit when the X session is over, since it won't be able to query for the current X idle time and/or start any process in the correct environment anyway.