From e7a118c2010acb90c1d6f370c2fce294013cf562 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 24 Aug 2022 14:21:48 +0200 Subject: [PATCH] clean up curves a bit --- pages/Configuring/Advanced-config.md | 39 ++++++++++++++-------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/pages/Configuring/Advanced-config.md b/pages/Configuring/Advanced-config.md index 3568e72..726f9a1 100644 --- a/pages/Configuring/Advanced-config.md +++ b/pages/Configuring/Advanced-config.md @@ -404,24 +404,6 @@ script (`exec-once=~/myscript.sh` and do `myapp &` in the script) `exec=command` will execute on each reload -# Curves - -Defining your own Bezier curve can be done with the `bezier` keyword: - -``` -bezier=NAME,X0,Y0,X1,Y1 -``` - -where `NAME` is the name, and the rest are two points for the Cubic Bezier. A -good website to design your bezier can be found -[here, on cssportal.com](https://www.cssportal.com/css-cubic-bezier-generator/). - -Example curve: - -``` -bezier=overshot,0.05,0.9,0.1,1.1 -``` - # Window Rules You can set window rules for various actions. These are applied on window open! @@ -504,7 +486,7 @@ animation=windows,1,10,myepiccurve,slide `SPEED` is the amount of ds (1ds = 100ms) the animation will take -`CURVE` is the bezier curve name, see curves above. +`CURVE` is the bezier curve name, see [curves](https://wiki.hyprland.org/Configuring/Advanced-config/#curves). `STYLE` (optional) is the animation style @@ -539,6 +521,25 @@ animation=windows,1,8,default,popin 80% will make the animation 80% -> 100% of the size. +# Curves + +Defining your own Bezier curve can be done with the `bezier` keyword: + +``` +bezier=NAME,X0,Y0,X1,Y1 +``` + +where `NAME` is the name, and the rest are two points for the Cubic Bezier. A +good website to design your bezier can be found +[here, on cssportal.com](https://www.cssportal.com/css-cubic-bezier-generator/). + +Example curve: + +``` +bezier=overshot,0.05,0.9,0.1,1.1 +``` + + # Defining variables You can define your own custom variables like this: