mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-07 14:05:59 +01:00
fix typo & wording
This commit is contained in:
parent
a3a8699b33
commit
6b8e0d4b69
1 changed files with 18 additions and 17 deletions
|
@ -22,10 +22,10 @@ animation=NAME,ONOFF,SPEED,CURVE
|
|||
|
||||
`STYLE` is the animation style
|
||||
|
||||
All the parameters are required, exepct the `STYLE` one.
|
||||
All the parameters are required, except for the `STYLE` parameter.
|
||||
|
||||
The animations are a tree. If an animation is unset, it will inherit its
|
||||
parent's values.
|
||||
parent's values. See [animation tree](#animation-tree).
|
||||
|
||||
### Examples
|
||||
|
||||
|
@ -34,9 +34,10 @@ animation=workspaces,1,8,default
|
|||
animation=windows,1,10,myepiccurve,slide
|
||||
```
|
||||
|
||||
## Animation tree
|
||||
### Animation tree
|
||||
|
||||
```txt
|
||||
|
||||
```
|
||||
global
|
||||
↳ windows - styles: slide, popin
|
||||
↳ windowsIn - window open
|
||||
|
@ -53,18 +54,7 @@ global
|
|||
↳ specialWorkspace - styles: same as workspaces
|
||||
```
|
||||
|
||||
### Extras
|
||||
|
||||
For animation style `popin` in `windows`, you can specify a minimum percentage
|
||||
to start from. For example:
|
||||
|
||||
```ini
|
||||
animation=windows,1,8,default,popin 80%
|
||||
```
|
||||
|
||||
will make the animation 80% -> 100% of the size.
|
||||
|
||||
### Curves
|
||||
## Curves
|
||||
|
||||
Defining your own Bezier curve can be done with the `bezier` keyword:
|
||||
|
||||
|
@ -77,8 +67,19 @@ good website to design your bezier can be found
|
|||
[here, on cssportal.com](https://www.cssportal.com/css-cubic-bezier-generator/),
|
||||
if you want to instead choose from a list of beizers, you can check out [easings.net](https://easings.net).
|
||||
|
||||
#### Example
|
||||
### Example
|
||||
|
||||
```ini
|
||||
bezier=overshot,0.05,0.9,0.1,1.1
|
||||
```
|
||||
|
||||
## Extras
|
||||
|
||||
For animation style `popin` in `windows`, you can specify a minimum percentage
|
||||
to start from. For example:
|
||||
|
||||
```ini
|
||||
animation=windows,1,8,default,popin 80%
|
||||
```
|
||||
|
||||
will make the animation 80% -> 100% of the size.
|
||||
|
|
Loading…
Reference in a new issue