diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-02-11 18:33:07 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-02-11 18:33:07 -0500 |
commit | 0283ec58b3f4e179c0d8f57e5fc9ecb6e7750e17 (patch) | |
tree | d3d899e4aff0004384d1c7bf9a9b5b7a2ce2e70e /.local/bin/m | |
parent | 54f87a1321656c43a8e25fb00bb048a8f732ed14 (diff) |
Backport changes from build64
Diffstat (limited to '.local/bin/m')
-rwxr-xr-x | .local/bin/m | 7 |
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 |