Very unpolished sample code to get the user's idle time using X11 XScreenSaver extension.
Very unpolished sample code to get the user's idle time using X11 XScreenSaver extension.

quatauta/on_zero_load