cursor_ask.sh runs in a kitty window that cursor_follow keeps beside the
cursor. It holds keyboard focus while following and stops following once a
question is sent, so the answer can be scrolled. Answers stream from
claude -p (Haiku), kept short, with markdown styled and word-wrapped, and
highlighted text is sent along as context. Code requests get the library and
functions to use rather than the code itself.
Also includes the earlier cursor_follow additions: centered mode
(SUPER+CTRL+P), playerctl video keys, gap keys and the SUPER+ALT+P key list.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
New hypr/cursor_follow.lua module, loaded from base.lua. A repeating
timer keeps the followed window floating and pinned beside the cursor.
It flips sides at the screen edges so the window never covers the cursor.
- Picture-in-Picture windows follow automatically. This replaces the old
rule that tiled them.
- $mod+p makes the focused window follow, or pauses/resumes following.
$mod+Shift+p stops.
- Following stops when the window closes or is tiled again.
- The followed window is tagged so following picks back up after a
config reload.
Co-Authored-By: Claude Opus 5.5 <[email protected]>