A modal keyboard driven interface for mouse manipulation.
The usual array of X libraries:
- libxi
- libxinerama
- libxft
- libxfixes
- libxtst
- libx11
Wayland is currently unsupported and may or may not be in the pipeline :P.
- The standard Xcode command line developer tools.
Make sure you have the appropriate dependencies for your system:
E.G
debian/ubuntu:
sudo apt-get install \
libxi-dev \
libxinerama-dev \
libxft-dev \
libxfixes-dev \
libxtst-dev \
libx11-dev
macos:
xcode-select --install
Then simply do:
make && sudo make install
- Run
warpd
- Press
A-M-x
(alt+meta+x
) to generate a list of hints - Enter the key sequence associated with the desired target to warp the pointer to that location and enter normal mode.
- Use the normal mode movement keys to select the final desination (see Normal Mode).
- Press
A-M-g
(meta is the command key) to activate the warping process. - Use
u
,i
,j
,k
to repeatedly navigate to different quadrants. - Press
m
to left click,,
to middle click or.
to right click. - See Normal Mode
- Press
A-M-c
to activate normal mode. - Use the normal movement keys (default
hjkl
) to adjust the cursor. - Press
m
to left click,,
to middle click or.
to right click. - Press
escape
to quit.
A drag movement can be simulated from any of the above modes by focusing on the
source and then pressing the drag_key
(default v
) which will cause normal
mode to be activated for selection of the drag target.
A more comprehensive description can be found in the man page (along with a list of options).
warpd
is currently available on the following distributions:
Available as an AUR package (maintained by Matheus Fillipe).
If you are interesting in adding warpd to your distribution's repository please contact me.
-
Programs which use Xinput and or Xtest for keyboard may not work correctly (e.g synergy). If a specific program which you feel should be working does not please file an issue.
-
The hack used for pointer hiding on OSX doesn't work on some programs (e.g iTerm). The original cursor will consequently be visible in such cases, though functionality should be otherwise unaffected.
A special thanks to
- Pete Fein - For encouragement and early adoption.
- Matheus Fillipe - For the original border radius patch as well as numerous bug reports and feature requests.
- The Kaleidoscope/Vimperator projects - For inspiration.