diff options
| -rw-r--r-- | wiki/Configuration:-Animations.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/wiki/Configuration:-Animations.md b/wiki/Configuration:-Animations.md index 5a397de8..dbb1f050 100644 --- a/wiki/Configuration:-Animations.md +++ b/wiki/Configuration:-Animations.md @@ -49,6 +49,15 @@ To use this animation, set the following parameters: - `duration-ms`: duration of the animation in milliseconds. - `curve`: the easing curve to use. +``` +animations { + window-open { + duration-ms 150 + curve "ease-out-expo" + } +} +``` + Currently, niri only supports two curves: `ease-out-cubic` and `ease-out-expo`. You can get a feel for them on pages like [easings.net](https://easings.net/). |
