#!/bin/sh while [ 1 ]; do xdotool getmouselocation done