2023-11-22 16:53:33 -06:00
|
|
|
# exit mouse mode
|
2023-12-05 21:43:38 -06:00
|
|
|
Escape
|
2024-12-25 07:29:11 -06:00
|
|
|
sxhkd-mode sxhkdrc
|
2023-11-15 21:04:50 -06:00
|
|
|
|
2024-11-04 01:26:35 -06:00
|
|
|
w
|
2024-12-25 07:29:11 -06:00
|
|
|
sxhkd-mode sxhkdrc
|
2024-11-04 01:26:35 -06:00
|
|
|
|
|
|
|
# send the escape key
|
|
|
|
]
|
|
|
|
xdotool key Escape
|
|
|
|
|
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-12-05 21:43:38 -06:00
|
|
|
q
|
2023-11-15 21:04:50 -06:00
|
|
|
xdotool mouseup 1; xdotool mouseup 2; xdotool mouseup 3
|
2023-12-05 21:43:38 -06:00
|
|
|
|
|
|
|
# move the mouse to the top of the window
|
|
|
|
g ; g
|
2024-12-25 07:29:11 -06:00
|
|
|
bspwm-mouse top
|
2023-12-05 21:43:38 -06:00
|
|
|
|
|
|
|
# ditto for bottom
|
|
|
|
G
|
2024-12-25 07:29:11 -06:00
|
|
|
bspwm-mouse bottom
|
2023-12-05 21:43:38 -06:00
|
|
|
|
|
|
|
# ditto for left
|
|
|
|
0
|
2024-12-25 07:29:11 -06:00
|
|
|
bspwm-mouse left
|
2023-12-05 21:43:38 -06:00
|
|
|
|
|
|
|
# ditto for right
|
|
|
|
dollar
|
2024-12-25 07:29:11 -06:00
|
|
|
bspwm-mouse right
|