aboutsummaryrefslogtreecommitdiff
path: root/wiki/Configuration:-Animations.md
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-04-13 11:07:23 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-04-13 11:07:23 +0400
commit71be19b234d58f4ec447e921633506beb81a52c0 (patch)
treea6b69d57a3e2edc9d8dac4c969548f227cbf341a /wiki/Configuration:-Animations.md
parent4fd9300bdb07e90c26df28461f9bd6591c3d1d41 (diff)
downloadniri-71be19b234d58f4ec447e921633506beb81a52c0.tar.gz
niri-71be19b234d58f4ec447e921633506beb81a52c0.tar.bz2
niri-71be19b234d58f4ec447e921633506beb81a52c0.zip
Implement window resize animations
Diffstat (limited to 'wiki/Configuration:-Animations.md')
-rw-r--r--wiki/Configuration:-Animations.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/wiki/Configuration:-Animations.md b/wiki/Configuration:-Animations.md
index a4c762ba..0aec81be 100644
--- a/wiki/Configuration:-Animations.md
+++ b/wiki/Configuration:-Animations.md
@@ -38,6 +38,10 @@ animations {
curve "ease-out-quad"
}
+ window-resize {
+ spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
+ }
+
config-notification-open-close {
spring damping-ratio=0.6 stiffness=1000 epsilon=0.001
}
@@ -196,6 +200,23 @@ animations {
}
```
+#### `window-resize`
+
+<sup>Since: 0.1.5</sup>
+
+Window resize animation.
+
+Only manual window resizes are animated, i.e. when you resize the window with `switch-preset-column-width` or `maximize-column`.
+Also, very small resizes (up to 10 pixels) are not animated.
+
+```
+animations {
+ window-resize {
+ spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
+ }
+}
+```
+
#### `config-notification-open-close`
The open/close animation of the config parse error and new default config notifications.