Expand description
Get the idle time of a user
The time returned is the time since the last user input event
See the README.md
for more information
Example:
use user_idle::UserIdle;
let idle = UserIdle::get_time().unwrap();
let idle_seconds = idle.as_seconds();
let idle_minutes = idle.as_minutes();