Powermouse is a cross-platform python program empowering you to move your cursor with your keyboards, using Vim-inspired keybindings.
Download powermouse.py
, and add a keybinding for it in your DE/WM settings.
Say i3: add bindsym $mod+p exec /path/to/powermouse.py
to your config file.
Currently implemented:
-
Small movement navigation:
- h for right,
- j for down,
- k for up,
- l for down
-
Border movement navigation:
- 0 for rightmost,
- G for bottom,
- gg for top,
- $ for leftmost,
-
Clicks and Drags:
- c for single click,
-
Quit:
- q for quit,
- easy-notify (for notifications):
pip install easy-notify
- pynput (for reading global keyboard input):
pip install pynput
- pyautogui (for moving and clicking the cursor):
pip install pyautogui
- Linux: python3-xlib (for pyautogui):
sudo pacman -S python3-xlib
- macOS: rubicon-objc (for pyautogui):
brew install rubicon-objc
Download pypy3. PyPy is actually a Just-In-Time compiler for python, making the app really faster.
- Install PyPy3:
sudo pacman -S pypy3
- Enable pip support in PyPy3:
pypy3 -m ensurepip
- Install modules: use commands in requirements, adding
pypy3 -m
in front of them