mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
screenshot-ui: Animate opening
This commit is contained in:
@@ -45,6 +45,11 @@ animations {
|
||||
config-notification-open-close {
|
||||
spring damping-ratio=0.6 stiffness=1000 epsilon=0.001
|
||||
}
|
||||
|
||||
screenshot-ui-open {
|
||||
duration-ms 200
|
||||
curve "ease-out-quad"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -354,6 +359,21 @@ animations {
|
||||
}
|
||||
```
|
||||
|
||||
#### `screenshot-ui-open`
|
||||
|
||||
<sup>Since: 0.1.8</sup>
|
||||
|
||||
The open (fade-in) animation of the screenshot UI.
|
||||
|
||||
```
|
||||
animations {
|
||||
screenshot-ui-open {
|
||||
duration-ms 200
|
||||
curve "ease-out-quad"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Synchronized Animations
|
||||
|
||||
<sup>Since: 0.1.5</sup>
|
||||
|
||||
Reference in New Issue
Block a user