aboutsummaryrefslogtreecommitdiff
path: root/experiments/draw/fill
blob: c0278f3a390682a4aef223af51303039a035eb0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
cd "$(dirname "$0")"
. ./lib.sh

msg_clear
pen
big

bottom_screen 24 34

xdotool mousedown 1
sleep 0.02
xdotool mousemove_relative -- 0 -18
sleep 0.02

for line in $(seq 22) ; do
	xdotool mousemove_relative -- 230 0
	sleep 0.02
	xdotool mousemove_relative -- 0 2
	sleep 0.02
	xdotool mousemove_relative -- -230 0
	sleep 0.02
	xdotool mousemove_relative -- 0 2
	sleep 0.02
done

xdotool mouseup 1