From 9cbbffc23ce7610762325eb76b84fe835c4cd65f Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 5 Mar 2024 19:06:21 +0400 Subject: Improve spring comments in default config --- resources/default-config.kdl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/default-config.kdl b/resources/default-config.kdl index bacf7983..609a7efe 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -258,6 +258,7 @@ animations { // - off disables the animation. // // Niri supports two animation types: easing and spring. + // You can set properties for only ONE of them. // // Easing has the following settings: // - duration-ms sets the duration of the animation in milliseconds. @@ -313,6 +314,9 @@ animations { // off // duration-ms 150 // curve "ease-out-expo" + + // Example for a slightly bouncy window opening: + // spring damping-ratio=0.8 stiffness=1000 epsilon=0.0001 } // Config parse error and new default config creation notification -- cgit