Add support for background blur

This patch adds a new config option: colors{,2}.blur=no|yes. When
enabled, transparent background are also blurred.

Note that this requires the brand new ext-background-effect-v1
protocol, and specifically, that the compositor implements the blur
effect.
This commit is contained in:
Daniel Eklöf 2025-10-16 13:43:33 +02:00
parent dc0c8550c3
commit dea10e2e48
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
13 changed files with 154 additions and 43 deletions

View file

@ -82,6 +82,12 @@
`LEFTxTOPxRIGHTxBOTTOM` (e.g., `20x10x20x10`).
* `--config=PATH` option is now automatically passed to new
terminals spawned via `spawn-terminal` action ([#2259][2259]).
* Preliminary (untested) support for background blur via the new
`ext-background-effect-v1` protocol. Enable by setting
`colors-{dark,light}.blur=yes`. Foot needs to have been **built**
against `wayland-protocols >= 1.45`, and the compositor **must**
implement the `ext-background-effect-v1` protocol, **and** the
`blur` effect.
[2212]: https://codeberg.org/dnkl/foot/issues/2212
[2209]: https://codeberg.org/dnkl/foot/issues/2209