Improve spring comments in default config
Browse files at this commit9cbbffc23ce7610762325eb76b84fe835c4cd65fParent: c6a13981 changed file +4 -0
resources/default-config.kdlmodified+4 -0
| @@ -258,6 +258,7 @@ animations { | |||
| 258 | // - off disables the animation. | 258 | // - off disables the animation. |
| 259 | // | 259 | // |
| 260 | // Niri supports two animation types: easing and spring. | 260 | // Niri supports two animation types: easing and spring. |
| 261 | + // You can set properties for only ONE of them. | ||
| 261 | // | 262 | // |
| 262 | // Easing has the following settings: | 263 | // Easing has the following settings: |
| 263 | // - duration-ms sets the duration of the animation in milliseconds. | 264 | // - duration-ms sets the duration of the animation in milliseconds. |
| @@ -313,6 +314,9 @@ animations { | |||
| 313 | // off | 314 | // off |
| 314 | // duration-ms 150 | 315 | // duration-ms 150 |
| 315 | // curve "ease-out-expo" | 316 | // curve "ease-out-expo" |
| 317 | + | ||
| 318 | + // Example for a slightly bouncy window opening: | ||
| 319 | + // spring damping-ratio=0.8 stiffness=1000 epsilon=0.0001 | ||
| 316 | } | 320 | } |
| 317 | 321 | ||
| 318 | // Config parse error and new default config creation notification | 322 | // Config parse error and new default config creation notification |