dashboard
repositories
filestore
activity
search
login
main
/
Scripts
mirror of
https://github.com/Chizi123/Scripts.git
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
Swapped if for ternaries inline
Joel Grunbaum
2020-05-18
65356cb4dce4b703635b4ec2cd8f8a59ccfbd20f
[Scripts.git]
/
autoclick.sh
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
if [ "$(pgrep autoclick | wc -l)" = "2" ]; then
true
else
pkill autoclick
fi
while :; do
xdotool click --delay 100 --repeat 10 1
done