add some mouse keybindings to sxhkd

This commit is contained in:
stupidcomputer 2024-11-18 17:44:29 -06:00
parent 766d21e2d6
commit 6d5076609d
1 changed files with 23 additions and 0 deletions

View File

@ -96,3 +96,26 @@ shift + Insert
# phone specific -- send the escape key since we can't use it
super + b; [
xdotool key Escape
# mouse keybindings on the keypad
# move left
{ctrl +,shift +} KP_6
xdotool mousemove_relative -- {5,50} 0
# move down
{ctrl +,shift +} KP_2
xdotool mousemove_relative -- 0 {5,50}
# move up
{ctrl +,shift +} KP_8
xdotool mousemove_relative -- 0 {-5,-50}
# move right
{ctrl +,shift +} KP_4
xdotool mousemove_relative -- {-5,-50} 0
KP_Divide
xdotool click 1
KP_Subtract
xdotool click 2