diff options
Diffstat (limited to 'mousemovekbn')
-rwxr-xr-x | mousemovekbn | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mousemovekbn b/mousemovekbn new file mode 100755 index 0000000..7d13d33 --- /dev/null +++ b/mousemovekbn @@ -0,0 +1,23 @@ +#!/bin/sh + +case $1 in + l|L) + xdotool mousemove_relative -- -27 0;; + r|R) + xdotool mousemove_relative 27 0;; + u|U) + xdotool mousemove_relative -- 0 -27;; + d|D) + xdotool mousemove_relative 0 27;; + 1|1) + xdotool click 1;; + 2|2) + xdotool click 2;; + 3|3) + xdotool click 3;; + h|H) + xdotool mousedown 1;; + m|M) + xdotool mousedown 2;; +esac + |