diff --git a/README.md b/README.md index a867000..78b1710 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,19 @@ Sends statistics of my computer to my [API](https://github.com/trafficlunar/api) - Memory usage - Key press counter - Left and right mouse clicks counter + +## running without sudo + +```bash +$ sudo nano /etc/udev/rules.d/99-inputbot.rules +``` + +Copy and paste this below and save the file. + +``` +KERNEL=="event*", SUBSYSTEM=="input", TAG+="uaccess" +KERNEL=="mouse*", SUBSYSTEM=="input", TAG+="uaccess" +KERNEL=="kbd*", SUBSYSTEM=="input", TAG+="uaccess" +``` + +Restart your computer.