diff options
| author | Horu <73709188+HigherOrderLogic@users.noreply.github.com> | 2025-08-29 15:31:50 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-29 05:31:50 +0000 |
| commit | 1ffda91e0cc3938af1a9d4f1f1b6a87afa3c210f (patch) | |
| tree | 60aa82866d4f3fa0105447419d154c69fba521f1 /niri-config/src/lib.rs | |
| parent | d9833fc1c3de306f500662471ae001094813dbd5 (diff) | |
| download | niri-1ffda91e0cc3938af1a9d4f1f1b6a87afa3c210f.tar.gz niri-1ffda91e0cc3938af1a9d4f1f1b6a87afa3c210f.tar.bz2 niri-1ffda91e0cc3938af1a9d4f1f1b6a87afa3c210f.zip | |
feat: cubic-bezier curve for animation (#2059)
* feat: bezier curve for animation
* fixes
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
Diffstat (limited to 'niri-config/src/lib.rs')
| -rw-r--r-- | niri-config/src/lib.rs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/niri-config/src/lib.rs b/niri-config/src/lib.rs index ce821c5e..8e07839e 100644 --- a/niri-config/src/lib.rs +++ b/niri-config/src/lib.rs @@ -441,6 +441,10 @@ mod tests { } window-open { off; } + + window-close { + curve "cubic-bezier" 0.05 0.7 0.1 1 + } } gestures { @@ -1038,7 +1042,12 @@ mod tests { kind: Easing( EasingParams { duration_ms: 150, - curve: EaseOutQuad, + curve: CubicBezier( + 0.05, + 0.7, + 0.1, + 1.0, + ), }, ), }, |
