Krolyxon
Auto
Light
Dark
Summary
Tree
Log
Refs
Find
Commit
f7c99ee
Branches
master
Refs →
dotfiles-x11
/
.local
/
bin
/
spammer
15 lines · 176 B · Bourne Again Shell (bash)
Raw
Blame
History
Download
1
#!/bin/sh
2
3
i
=0
4
5
if
[
-
z
$
1
]
;
then
6
read
-
p
"enter query: "
query
7
else
8
query
=$1
9
fi
10
11
while
[
$
i
-
le 100
]
12
do
13
xdotool type
"$query"
;
xdotool key KP_Enter
;
sleep 1
;
14
15
done