summaryrefslogtreecommitdiff
path: root/.local/bin/m
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/m')
-rwxr-xr-x.local/bin/m7
1 files changed, 7 insertions, 0 deletions
diff --git a/.local/bin/m b/.local/bin/m
new file mode 100755
index 0000000..9f4b4c6
--- /dev/null
+++ b/.local/bin/m
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+if [[ $# -gt 0 ]]; then
+ exec xdotool mousemove_relative -- "$@"
+else
+ xdotool mousemove_relative -- 1 1
+ xdotool mousemove_relative -- -1 -1
+fi