#!/bin/sh if ! iconf -i autoclicker; then exit fi # toggle on/off if pgrep xdotool; then pkill xdotool exit else xdotool click --delay 75 --repeat 100 1 fi