dot_testing/config/sxhkd/mouse

28 lines
517 B
Plaintext
Raw Normal View History

2023-11-22 16:53:33 -06:00
# exit mouse mode
2023-11-15 21:04:50 -06:00
q
mode sxhkdrc
2023-11-22 16:53:33 -06:00
# move left
2023-11-15 21:04:50 -06:00
{ctrl +,shift +,_} h
xdotool mousemove_relative -- {-5,-50,-20} 0
2023-11-22 16:53:33 -06:00
# move down
2023-11-15 21:04:50 -06:00
{ctrl +,shift +,_} j
2023-11-21 11:09:16 -06:00
xdotool mousemove_relative -- 0 {5,50,20}
2023-11-15 21:04:50 -06:00
2023-11-22 16:53:33 -06:00
# move up
2023-11-15 21:04:50 -06:00
{ctrl +,shift +,_} k
2023-11-21 11:09:16 -06:00
xdotool mousemove_relative -- 0 {-5,-50,-20}
2023-11-15 21:04:50 -06:00
2023-11-22 16:53:33 -06:00
# move right
2023-11-15 21:04:50 -06:00
{ctrl +,shift +,_} l
xdotool mousemove_relative -- {5,50,20} 0
2023-11-22 16:53:33 -06:00
# left, middle, right click
2023-11-15 21:04:50 -06:00
{ctrl +,_} {a,s,d}
xdotool {mousedown,click} {1,2,3}
2023-11-22 16:53:33 -06:00
# let go of clicked button
2023-11-15 21:04:50 -06:00
g
xdotool mouseup 1; xdotool mouseup 2; xdotool mouseup 3