From 85603a1c1fb027f5fa7f4c93a99fb7a180ceaf9e Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Wed, 7 Sep 2022 13:24:50 +0200 Subject: Adding two new scripts that might be of use. --- mousemovekbn | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 mousemovekbn (limited to 'mousemovekbn') 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 + -- cgit v1.2.1