mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
Improve spring comments in default config
This commit is contained in:
@@ -258,6 +258,7 @@ animations {
|
|||||||
// - off disables the animation.
|
// - off disables the animation.
|
||||||
//
|
//
|
||||||
// Niri supports two animation types: easing and spring.
|
// Niri supports two animation types: easing and spring.
|
||||||
|
// You can set properties for only ONE of them.
|
||||||
//
|
//
|
||||||
// Easing has the following settings:
|
// Easing has the following settings:
|
||||||
// - duration-ms sets the duration of the animation in milliseconds.
|
// - duration-ms sets the duration of the animation in milliseconds.
|
||||||
@@ -313,6 +314,9 @@ animations {
|
|||||||
// off
|
// off
|
||||||
// duration-ms 150
|
// duration-ms 150
|
||||||
// curve "ease-out-expo"
|
// 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
|
// Config parse error and new default config creation notification
|
||||||
|
|||||||
Reference in New Issue
Block a user