Krolyxon
Commit 0fa2ced

Branches

Refs →

dotfiles-x11.localbinspammer

15 lines · 176 B · Bourne Again Shell (bash)

1#!/bin/sh
2
3i=0
4
5if [ -z $1 ]; then
6 read -p "enter query: " query
7else
8 query=$1
9fi
10
11while [ $i -le 100 ]
12do
13 xdotool type "$query" ;xdotool key KP_Enter; sleep 1 ;
14
15done