diff options
| author | srdusr <trevorgray@srdusr.com> | 2022-12-27 23:11:12 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2022-12-27 23:11:12 +0200 |
| commit | 28f48f90e2217aad6708a12e411a3180a22bc177 (patch) | |
| tree | fdff8a05f8031fb853c3c062c38929356fec712d /.config/sxhkd | |
| parent | b29d37103f2428ce1ae39c4fe6c59eb2c61b3b2e (diff) | |
| download | dotfiles-28f48f90e2217aad6708a12e411a3180a22bc177.tar.gz dotfiles-28f48f90e2217aad6708a12e411a3180a22bc177.zip | |
Add xdotool keys to control mouse cursor via keyboard
Diffstat (limited to '.config/sxhkd')
| -rwxr-xr-x | .config/sxhkd/sxhkdrc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 7b6704a..f5a914f 100755 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -295,6 +295,18 @@ XF86Audio{Raise,Lower}Volume alt + {Right,Left} pulsemixer --change-volume {+,-}10 +#--------------------------------------------------------------- +# +# Xdotool +# + +# Move mouse cursor north, west, south, east +alt + {w,a,s,d} + xdotool mousemove_relative --sync {-- 0 -24, -- -24 0, 0 24, 24 0} + +# Move mouse cursor diagonally north-west, north-east, south-west, south-east +shift + alt + {q,e,a,d} + xdotool mousemove_relative --sync {-- -24 -24, -- 24 -24, -- -24 24,-- 24 24} #--------------------------------------------------------------- # |
