dot_testing/config/sxhkd/mouse
2023-11-22 16:54:06 -06:00

28 lines
517 B
Plaintext

# exit mouse mode
q
mode sxhkdrc
# move left
{ctrl +,shift +,_} h
xdotool mousemove_relative -- {-5,-50,-20} 0
# move down
{ctrl +,shift +,_} j
xdotool mousemove_relative -- 0 {5,50,20}
# move up
{ctrl +,shift +,_} k
xdotool mousemove_relative -- 0 {-5,-50,-20}
# move right
{ctrl +,shift +,_} l
xdotool mousemove_relative -- {5,50,20} 0
# left, middle, right click
{ctrl +,_} {a,s,d}
xdotool {mousedown,click} {1,2,3}
# let go of clicked button
g
xdotool mouseup 1; xdotool mouseup 2; xdotool mouseup 3