Commit Graph
2 Commits
Author SHA1 Message Date
adamfandClaude Opus 5.5 2f5a53595d Add SUPER+A quick Claude question popup that follows the cursor
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]>
2026-11-16 18:44:13 +00:00
adamfandClaude Opus 5.5 cc5f0348dc Add cursor_follow: PiP windows follow the mouse cursor in Hyprland
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]>
2026-11-16 16:29:32 +00:00