mirror of
https://github.com/yshui/picom.git
synced 2024-11-18 13:55:36 -05:00
tests: test animation presets
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
d04f8254f8
commit
dd208ff366
1 changed files with 26 additions and 2 deletions
|
@ -427,9 +427,33 @@ window-shader-fg-rule =
|
||||||
animations = ({
|
animations = ({
|
||||||
triggers = ["close", "hide"];
|
triggers = ["close", "hide"];
|
||||||
offset-y = {
|
offset-y = {
|
||||||
timing = "0.2s linear";
|
|
||||||
start = 0;
|
start = 0;
|
||||||
|
duration = 0.2;
|
||||||
end = "- window-height - window-y";
|
end = "- window-height - window-y";
|
||||||
};
|
};
|
||||||
opacity = 1;
|
opacity = 1;
|
||||||
})
|
}, {
|
||||||
|
triggers = ["open"];
|
||||||
|
preset = "slide-in";
|
||||||
|
duration = 1;
|
||||||
|
}, {
|
||||||
|
triggers = ["open"];
|
||||||
|
preset = "slide-out";
|
||||||
|
duration = 1;
|
||||||
|
}, {
|
||||||
|
triggers = ["open"];
|
||||||
|
preset = "fly-in";
|
||||||
|
duration = 1;
|
||||||
|
}, {
|
||||||
|
triggers = ["open"];
|
||||||
|
preset = "fly-out";
|
||||||
|
duration = 1;
|
||||||
|
}, {
|
||||||
|
triggers = ["open"];
|
||||||
|
preset = "appear";
|
||||||
|
duration = 1;
|
||||||
|
}, {
|
||||||
|
triggers = ["open"];
|
||||||
|
preset = "disappear";
|
||||||
|
duration = 1;
|
||||||
|
});
|
||||||
|
|
Loading…
Reference in a new issue