summaryrefslogtreecommitdiff
path: root/.local/bin/m
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-10-04 15:34:32 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-10-04 15:34:32 -0400
commit303317564e27914e648b8e80355b0fafb3efff55 (patch)
tree3c1226d4d0532baa2ed057b2b80253b74b230875 /.local/bin/m
parentb7abdd2208f41129365b586071747d10ec6992bb (diff)
Commit laptop-related utilities
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