1 2 3 4
A utility that queries the X server for the user's idle time and prints it to stdout (in milliseconds). WWW: https://github.com/lucianposton/xprintidle