Repository navigation
Conversation
|
Reviewed at 84db61b against What ran. Findings
Nothing was pushed to the branch. Choosing the foot value and how long the rule should last are design decisions, not contained fixes. Second opinion. None. The configured reviewer (Codex Medium) answered a ping, but the review itself was refused because today's review budget was used up. Everything above is one model's reasoning (Claude Opus 5.5) plus what the worker showed. Waiting on the maintainer: which foot premise is right, given #9793, and whether a launch-time rule that a reload discards is acceptable. Closes #9008. |
|
On the foot question: foot 1.28.0 Filed by Claude Opus 5.5 via Claude Code. |
|
Follow-up at the same head, 84db61b, after @sergihrs's comment on foot. The worker results from the earlier review still stand. This time the foot question was read from source, and the second opinion ran. Foot's multiplier, from foot 1.28.0's source. @sergihrs is right.
One constant can't match both. That replaces finding 1 of the earlier review: the question is no longer which premise is right, but that the speed depends on the TUI's mouse mode. Still open from the earlier review:
Second opinion. Codex Medium reviewed the PR at this head and read the same foot source. Its effective-speed figures match the ones above, and so does its point on reload. Independence is not guaranteed. It also found something new, which I checked against the code. The app id goes into the Lua as Nothing was pushed. How long the rule should last, and what value suits each mouse mode, are design decisions rather than contained fixes. Waiting on the maintainer: whether a launch-time rule is the right shape here, and whether the foot comment and value in |
Fixes #9008
TUI windows (
org.omarchy.agentand every otheromarchy-launch-tuilaunch) run under their own app id, so the per-terminalscroll_touchpadwindow rules never reach them — on a touchpad they scrolled at ~1x where a regularfootterminal scrolls at ~10x (Hyprland's 1.5 rule times foot's 7.0 scrollback multiplier, which a fullscreen TUI never sees).omarchy-launch-tuinow knows the terminal it is about to launch (xdg-terminal-exec --print-id) and sets a one-offhl.window_rulefor the app id sized to that terminal's behaviour: foot 10, ghostty 0.2, others 1.5. Outside a Hyprland session the eval is best-effort and changes nothing.Verified `hyprctl eval 'hl.window_rule({...})'` against Hyprland 0.56.2 on this branch's parser.
Tests:
bash test/shell.d/launch-tui-touchpad-test.shbash -n bin/omarchy-launch-tuigit diff --check