there's currently an evaluation warning:
evaluation warning: The xorg package set has been deprecated, 'xorg.libxcb' has been renamed to 'libxcb'
evaluation warning: The xorg package set has been deprecated, 'xorg.xcbutilwm' has been renamed to 'libxcb-wm'
commit wlrfx/scenefx@6291016 updated some package names in line with
upstream changes, and bumping that flake will make the warning disappear.
Unfortunately this means we need to deal with a couple of breaking APIs
changes:
* the `enum corner_location` and `int corner_radius` pair has been
replaced with `struct fx_corner_radii`
* `wlr_scene_buffer_set_backdrop_blur()`, `_ignore_transparent()`, and
`_optimized()` have been removed, and blur is now managed at the scene
level via `wlr_scene_blur` nodes
moreover, it appears that wlrfx/scenefx@51d9081 introduced a regression
with how transparency is handled, so bump scenefx only to the commit
before that (wlrfx/scenefx@bdc3e64) rather than main.
Signed-off-by: Gilberto Bertin <me@jibi.io>
This adds animated transitions when switching focus between windows.
Both window opacity and border color now fade smoothly using cubic
bezier easing instead of changing instantly.
Implementation:
- Added animation_duration_focus config option (default 400ms)
- Added animation_curve_focus for cubic bezier easing curve
- Window opacity and border color animate together when focus changes
- Uses existing animation infrastructure (baked bezier points)
The feature is backwards compatible and can be disabled by setting
animation_duration_focus=0 in config file.
Changes affect 5 files with minimal additions to keep code clean.