I would like a shell script or some guidance into creating one. I don’t mind using C or Python, although I have more experience with C than with Python. I tried with Node.js but I don’t have the required APIs.
Relevant things I found on the Internet:
- xprintidle/xprintidle.c at master · g0hl1n/xprintidle · GitHub
- GitHub - JackChenLucky/idlerun: Node.js Native Addon to report system Idle time based on Keyboard
- How long was the keyboard idle?
Any help would be great!