mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-07-06 00:06:08 -04:00
bell: optionally render margins in red when receiving BEL
Add anew config option, ‘bell=none|set-urgency’. When set to ‘set-urgency’, the margins will be painted in red (if the window did not have keyboard focus). This is intended as a cheap replacement for the ‘urgency’ hint, that doesn’t (yet) exist on Wayland. Closes #157
This commit is contained in:
parent
7e0cfd46c6
commit
7c6686221f
10 changed files with 95 additions and 2 deletions
|
|
@ -21,6 +21,14 @@
|
|||
terminfo). This mode can be enabled/disabled with `CSI ? 45 h` and
|
||||
`CSI ? 45 l`. It is **enabled** by default
|
||||
(https://codeberg.org/dnkl/foot/issues/150).
|
||||
* **bell** option to `foot.ini`. Can be set to `set-urgency` to make
|
||||
foot render the margins in red when receiving `BEL` while **not**
|
||||
having keyboard focus. Note that Wayland does **not** implement an
|
||||
_urgency_ hint like X11, but that there is a
|
||||
[proposal](https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/9)
|
||||
to add support for this. The value `set-urgency` was chosen for
|
||||
forward-compatibility, in the hopes that this proposal eventualizes
|
||||
(https://codeberg.org/dnkl/foot/issues/157).
|
||||
|
||||
|
||||
### Changed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue