2024-01-16 10:08:31 -03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
running="/tmp/running"
|
|
|
|
if [ -f "$running" ]; then
|
|
|
|
pid=$(cat "$running")
|
|
|
|
kill $pid
|
|
|
|
rm "$running"
|
|
|
|
else
|
|
|
|
while true; do
|
|
|
|
# spam e
|
|
|
|
# xdotool keydown ctrl ; xdotool keyup ctrl
|
|
|
|
# xdotool keydown e
|
|
|
|
# xdotool keyup e
|
|
|
|
|
|
|
|
# glaive
|
|
|
|
# xdotool keydown e
|
|
|
|
# sleep 1.1
|
|
|
|
# xdotool keyup e
|
|
|
|
# sleep 0.3
|
|
|
|
# xdotool click 2
|
|
|
|
# sleep 0.2
|
2024-02-13 14:59:23 -03:00
|
|
|
# xdotool click 1
|
|
|
|
# sleep 1
|
|
|
|
ydotool click --next-delay 1000 0xC0
|
2024-01-16 10:08:31 -03:00
|
|
|
|
|
|
|
done &
|
|
|
|
echo "$!" >"$running"
|
|
|
|
fi
|