waywarp-0.1.2 is not a library.
waywarp
English | 简体中文
A high-performance, keyboard-driven mouse control tool for Wayland compositors (wlroots-based).
Features
- Hint-based cursor positioning: Overlay hint labels on screen, type characters to warp the cursor
- Multi-pass refinement: Coarse grid → fine grid for pixel-perfect accuracy
- Agent CLI mode: JSON output, programmatic hint selection, direct coordinate control
- Callback system: Execute shell commands after positioning (click, type, drag, scroll)
- Multi-monitor support: Auto-detect monitors, per-monitor hint grids
Supported Compositors
- Hyprland
- Sway
- River
- Wayfire
- niri
- Any wlroots-based compositor
Installation
Or build from source:
Usage
# Interactive hint mode
# List hints as JSON
# Programmatic hint selection
# Direct coordinate + click
# Relative coordinate move + click (v0.1.2+)
Configuration
Waywarp automatically creates a default configuration file at ~/.config/waywarp/config on its first run if it does not exist.
# ~/.config/waywarp/config
on_select_cmd=hyprctl dispatch movecursor {global_x} {global_y}
hint_font=monospace
hint_size=18
For the complete documentation of all configuration options, callbacks, dynamic variables, and integration recipes, refer to the Waywarp Configuration Guide.
License
MIT