#!/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