aboutsummaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-04-09 22:37:10 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-04-09 23:42:01 +0400
commitdd011f1012e10b1e3a1dbe100cb603a457bba12a (patch)
tree2fb853be8bbe1ee5afdf3dea4974768874a5e793 /wiki
parent301a2c06613c76d2c16a85ab21ad132e5618454b (diff)
downloadniri-dd011f1012e10b1e3a1dbe100cb603a457bba12a.tar.gz
niri-dd011f1012e10b1e3a1dbe100cb603a457bba12a.tar.bz2
niri-dd011f1012e10b1e3a1dbe100cb603a457bba12a.zip
Implement window closing animations
Diffstat (limited to 'wiki')
-rw-r--r--wiki/Configuration:-Animations.md24
1 files changed, 23 insertions, 1 deletions
diff --git a/wiki/Configuration:-Animations.md b/wiki/Configuration:-Animations.md
index ada9c9ca..31aff0f3 100644
--- a/wiki/Configuration:-Animations.md
+++ b/wiki/Configuration:-Animations.md
@@ -33,6 +33,11 @@ animations {
curve "ease-out-expo"
}
+ window-close {
+ duration-ms 150
+ curve "ease-out-quad"
+ }
+
config-notification-open-close {
spring damping-ratio=0.6 stiffness=1000 epsilon=0.001
}
@@ -149,7 +154,7 @@ 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.
-Since 0.1.5, this is also the animation that moves windows out of the way upon window opening.
+Since 0.1.5, this is also the animation that moves windows out of the way upon window opening and closing.
```
animations {
@@ -161,6 +166,8 @@ animations {
#### `window-open`
+<sup>Since: 0.1.5</sup>
+
Window opening animation.
This one uses an easing type by default.
@@ -174,6 +181,21 @@ animations {
}
```
+#### `window-close`
+
+Window closing animation.
+
+This one uses an easing type by default.
+
+```
+animations {
+ window-open {
+ duration-ms 150
+ curve "ease-out-quad"
+ }
+}
+```
+
#### `config-notification-open-close`
The open/close animation of the config parse error and new default config notifications.