1
0
Fork 0
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:
Yuxuan Shui 2024-08-05 19:36:56 +01:00
parent d04f8254f8
commit dd208ff366
No known key found for this signature in database
GPG key ID: D3A4405BE6CC17F4

View file

@ -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;
});