Pass geometry of window with bell to custom shaders

This commit is contained in:
Kovid Goyal 2026-08-10 13:09:37 +05:30
parent 28b7c238dc
commit ac2c1ca86c
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
5 changed files with 36 additions and 1 deletions

View file

@ -321,6 +321,11 @@ be combined with ``|`` — any one of them will trigger the action.
* - ``bell-in-window``
- A bell (BEL character) is received in any kitty window.
The geometry of the window in which the most recent bell occurred is
available in ``d.bell_window_geometry`` (UV co-ordinates, origin
bottom-left; ``.xy`` = lower-left corner, ``.zw`` = width and height).
If that window is not currently visible in the active tab or layout,
``d.bell_window_geometry`` equals ``d.central_area``.
* - ``user-activity``
- Any keyboard or mouse input is received.