mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
Implement column movement animation
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user