diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-08-22 08:50:52 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-08-22 08:57:08 +0300 |
| commit | 210d5e90fe00ae9add5d841e1752b7f8c4a639a7 (patch) | |
| tree | ef1431ecb1744984105e7b30520581cb5a1c5219 /docs | |
| parent | 9d3beb49315ae4cde3d8edfb979fccda52af3fae (diff) | |
| download | niri-210d5e90fe00ae9add5d841e1752b7f8c4a639a7.tar.gz niri-210d5e90fe00ae9add5d841e1752b7f8c4a639a7.tar.bz2 niri-210d5e90fe00ae9add5d841e1752b7f8c4a639a7.zip | |
exit_confirm_dialog: Add open/close animation
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/wiki/Configuration:-Animations.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/wiki/Configuration:-Animations.md b/docs/wiki/Configuration:-Animations.md index 2400f568..0012aa83 100644 --- a/docs/wiki/Configuration:-Animations.md +++ b/docs/wiki/Configuration:-Animations.md @@ -46,6 +46,10 @@ animations { spring damping-ratio=0.6 stiffness=1000 epsilon=0.001 } + exit-confirmation-open-close { + spring damping-ratio=0.6 stiffness=500 epsilon=0.01 + } + screenshot-ui-open { duration-ms 200 curve "ease-out-quad" @@ -363,6 +367,22 @@ animations { } ``` +#### `exit-confirmation-open-close` + +<sup>Since: next release</sup> + +The open/close animation of the exit confirmation dialog. + +This one uses an underdamped spring by default (`damping-ratio=0.6`) which causes a slight oscillation in the end. + +```kdl +animations { + exit-confirmation-open-close { + spring damping-ratio=0.6 stiffness=500 epsilon=0.01 + } +} +``` + #### `screenshot-ui-open` <sup>Since: 0.1.8</sup> |
