carrot69 / keep-presence

Keeps your computer awake by moving the mouse or pressing a key when you step away.
Creative Commons Zero v1.0 Universal
257 stars 38 forks source link

Added random flag in case fixed timing is unwanted #9

Closed nebojsa-skendzic closed 2 years ago

nebojsa-skendzic commented 2 years ago

I've found I tend to vary the seconds argument often since my company tracks activity by percentage.

Added a CLI flag (-r int int or --random int int) which will pick a delay randomly between the two numbers.

carrot69 commented 2 years ago

I like this very much, thanks for this PR! <3

I'm gonna review it and I'll keep you in the loop!

carrot69 commented 2 years ago

I created https://github.com/carrot69/keep-presence/pull/10 with your changes and some minor modifications.