aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-03-05 19:06:21 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-03-05 19:06:21 +0400
commit9cbbffc23ce7610762325eb76b84fe835c4cd65f (patch)
tree6acd8381cf5abf2241e86d7cc83549f5cdc3b385
parentc6a1398d511ee87df7150af34bc33306c85c7d63 (diff)
downloadniri-9cbbffc23ce7610762325eb76b84fe835c4cd65f.tar.gz
niri-9cbbffc23ce7610762325eb76b84fe835c4cd65f.tar.bz2
niri-9cbbffc23ce7610762325eb76b84fe835c4cd65f.zip
Improve spring comments in default config
-rw-r--r--resources/default-config.kdl4
1 files changed, 4 insertions, 0 deletions
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