1 2 3 4 5 6 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