diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-04-08 18:23:18 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-04-08 19:11:25 +0400 |
| commit | c1432bfa96e40c12f2d10174f8cd23ec9c2a68b0 (patch) | |
| tree | 428a14c20ac360bab27959fc4ad41befc42a91e3 /wiki/Configuration:-Animations.md | |
| parent | ec0531264e8e51f9110d8561abe49e8be72422b7 (diff) | |
| download | niri-c1432bfa96e40c12f2d10174f8cd23ec9c2a68b0.tar.gz niri-c1432bfa96e40c12f2d10174f8cd23ec9c2a68b0.tar.bz2 niri-c1432bfa96e40c12f2d10174f8cd23ec9c2a68b0.zip | |
Implement column movement animation
Diffstat (limited to 'wiki/Configuration:-Animations.md')
| -rw-r--r-- | wiki/Configuration:-Animations.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/wiki/Configuration:-Animations.md b/wiki/Configuration:-Animations.md index 4db9346c..e74af219 100644 --- a/wiki/Configuration:-Animations.md +++ b/wiki/Configuration:-Animations.md @@ -24,6 +24,10 @@ animations { spring damping-ratio=1.0 stiffness=800 epsilon=0.0001 } + window-movement { + spring damping-ratio=1.0 stiffness=800 epsilon=0.0001 + } + window-open { duration-ms 150 curve "ease-out-expo" @@ -131,6 +135,21 @@ animations { } ``` +#### `window-movement` + +Window movement animations, currently cover only horizontal column movement. + +This animation runs on actions like `move-column-left` and `move-column-right` to move the windows themselves. +It can sometimes run together with the `horizontal-view-movement` animation, if the camera also moves. + +``` +animations { + window-movement { + spring damping-ratio=1.0 stiffness=800 epsilon=0.0001 + } +} +``` + #### `window-open` Window opening animation. |
