mirror of https://github.com/Chizi123/Scripts.git

Joel Grunbaum
2020-04-05 5d27f512fc760f9ad98fa8bc911bf14f81bb78ac
wrote autoclicker
1 files added
12 ■■■■■ changed files
autoclick.sh 12 ●●●●● patch | view | raw | blame | history
autoclick.sh
New file
@@ -0,0 +1,12 @@
#!/bin/sh
if [ "$(pgrep autoclick | wc -l)" = "2" ]; then
    true
else
    pkill autoclick
fi
while :; do
    xdotool click --delay 100 --repeat 10 1
done