init
This commit is contained in:
Executable
+310
@@ -0,0 +1,310 @@
|
||||
{
|
||||
match = "window_type = 'normal'";
|
||||
animations = (
|
||||
{
|
||||
triggers = ["close"];
|
||||
opacity = {
|
||||
curve = "cubic-bezier(0,1,1,1)";
|
||||
duration = 0.3;
|
||||
start = "window-raw-opacity-before";
|
||||
end = 0;
|
||||
};
|
||||
blur-opacity = "opacity";
|
||||
shadow-opacity = "opacity";
|
||||
|
||||
scale-x = {
|
||||
curve = "cubic-bezier(0,1.3,1,1)";
|
||||
duration = 0.3;
|
||||
start = 1;
|
||||
end = 0.6;
|
||||
};
|
||||
scale-y = "scale-x";
|
||||
|
||||
offset-x = "(1 - scale-x) / 2 * window-width";
|
||||
offset-y = "(1 - scale-y) / 2 * window-height";
|
||||
|
||||
shadow-scale-x = "scale-x";
|
||||
shadow-scale-y = "scale-y";
|
||||
shadow-offset-x = "offset-x";
|
||||
shadow-offset-y = "offset-y";
|
||||
},
|
||||
|
||||
{
|
||||
triggers = ["open"];
|
||||
opacity = {
|
||||
curve = "cubic-bezier(0,1,1,1)";
|
||||
duration = 0.3;
|
||||
start = 0;
|
||||
end = "window-raw-opacity";
|
||||
};
|
||||
blur-opacity = "opacity";
|
||||
shadow-opacity = "opacity";
|
||||
|
||||
scale-x = {
|
||||
curve = "cubic-bezier(0,1.3,1,1)";
|
||||
duration = 0.3;
|
||||
start = 0.6;
|
||||
end = 1;
|
||||
};
|
||||
scale-y = "scale-x";
|
||||
|
||||
offset-x = "(1 - scale-x) / 2 * window-width";
|
||||
offset-y = "(1 - scale-y) / 2 * window-height";
|
||||
|
||||
shadow-scale-x = "scale-x";
|
||||
shadow-scale-y = "scale-y";
|
||||
shadow-offset-x = "offset-x";
|
||||
shadow-offset-y = "offset-y";
|
||||
},
|
||||
|
||||
{
|
||||
triggers = ["geometry"];
|
||||
scale-x = {
|
||||
curve = "cubic-bezier(0,0,0,1.28)";
|
||||
duration = 0.3;
|
||||
start = "window-width-before / window-width";
|
||||
end = 1;
|
||||
};
|
||||
|
||||
scale-x-reverse = {
|
||||
curve = "cubic-bezier(0,0,0,1.28)";
|
||||
duration = 0.4;
|
||||
start = "window-width / window-width-before";
|
||||
end = 1;
|
||||
};
|
||||
scale-y = {
|
||||
curve = "cubic-bezier(0,0,0,1.28)";
|
||||
duration = 0.3;
|
||||
start = "window-height-before / window-height";
|
||||
end = 1;
|
||||
};
|
||||
scale-y-reverse = {
|
||||
curve = "cubic-bezier(0,0,0,1.28)";
|
||||
duration = 0.4;
|
||||
start = "window-height / window-height-before";
|
||||
end = 1;
|
||||
};
|
||||
offset-x = {
|
||||
curve = "cubic-bezier(0,0,0,1.28)";
|
||||
duration = 0.3;
|
||||
start = "window-x-before - window-x";
|
||||
end = 0;
|
||||
};
|
||||
offset-y = {
|
||||
curve = "cubic-bezier(0,0,0,1.28)";
|
||||
duration = 0.3;
|
||||
start = "window-y-before - window-y";
|
||||
end = 0;
|
||||
};
|
||||
shadow-scale-x = "scale-x";
|
||||
shadow-scale-y = "scale-y";
|
||||
shadow-offset-x = "offset-x";
|
||||
shadow-offset-y = "offset-y";
|
||||
}
|
||||
)
|
||||
},
|
||||
|
||||
{
|
||||
match = "class_g = 'Rofi'";
|
||||
animations = (
|
||||
{
|
||||
triggers = ["close", "hide"];
|
||||
preset = "disappear";
|
||||
duration = 0.05;
|
||||
scale = 0.4;
|
||||
},
|
||||
{
|
||||
triggers = ["open", "show"];
|
||||
preset = "appear";
|
||||
duration = 0.15;
|
||||
scale = 0.4;
|
||||
}
|
||||
)
|
||||
},
|
||||
|
||||
{
|
||||
match = "class_g = 'dunst'";
|
||||
animations = (
|
||||
{
|
||||
triggers = ["close", "hide"];
|
||||
preset = "fly-out";
|
||||
direction = "up";
|
||||
duration = 0.15;
|
||||
},
|
||||
{
|
||||
triggers = ["open", "show"];
|
||||
preset = "fly-in";
|
||||
direction = "up";
|
||||
duration = 0.15;
|
||||
}
|
||||
)
|
||||
},
|
||||
|
||||
{
|
||||
match = "class_g = 'jgmenu'";
|
||||
animations = (
|
||||
{
|
||||
triggers = ["close", "hide"];
|
||||
preset = "disappear";
|
||||
duration = 0.05;
|
||||
scale = 0.4;
|
||||
},
|
||||
{
|
||||
triggers = ["open", "show"];
|
||||
preset = "appear";
|
||||
duration = 0.1;
|
||||
scale = 0.4;
|
||||
}
|
||||
)
|
||||
},
|
||||
|
||||
{
|
||||
match = "class_g = 'bspwm-scratch'";
|
||||
animations = (
|
||||
{
|
||||
triggers = ["close", "hide"];
|
||||
preset = "fly-out";
|
||||
direction = "up";
|
||||
duration = 0.15;
|
||||
},
|
||||
{
|
||||
triggers = ["open", "show"];
|
||||
preset = "fly-in";
|
||||
direction = "up";
|
||||
duration = 0.15;
|
||||
}
|
||||
)
|
||||
},
|
||||
|
||||
{
|
||||
match = "name = 'Eww - launchermenu'";
|
||||
animations = (
|
||||
{
|
||||
triggers = ["close", "hide"];
|
||||
preset = "slide-out";
|
||||
direction = "right";
|
||||
duration = 0.15;
|
||||
},
|
||||
{
|
||||
triggers = ["open", "show"];
|
||||
preset = "slide-in";
|
||||
direction = "right";
|
||||
duration = 0.15;
|
||||
}
|
||||
)
|
||||
},
|
||||
|
||||
{
|
||||
match = "name = 'Eww - music'";
|
||||
animations = (
|
||||
{
|
||||
triggers = ["close", "hide"];
|
||||
preset = "slide-out";
|
||||
direction = "up";
|
||||
duration = 0.15;
|
||||
},
|
||||
{
|
||||
triggers = ["open", "show"];
|
||||
preset = "slide-in";
|
||||
direction = "up";
|
||||
duration = 0.15;
|
||||
}
|
||||
)
|
||||
},
|
||||
|
||||
{
|
||||
match = "name = 'Eww - date'";
|
||||
animations = (
|
||||
{
|
||||
triggers = ["close", "hide"];
|
||||
preset = "fly-out";
|
||||
direction = "up";
|
||||
duration = 0.15;
|
||||
},
|
||||
{
|
||||
triggers = ["open", "show"];
|
||||
preset = "fly-in";
|
||||
direction = "up";
|
||||
duration = 0.15;
|
||||
}
|
||||
)
|
||||
},
|
||||
|
||||
{
|
||||
match = "name = 'Eww - csheet'";
|
||||
animations = (
|
||||
{
|
||||
triggers = ["close", "hide"];
|
||||
preset = "disappear";
|
||||
duration = 0.05;
|
||||
scale = 0.4;
|
||||
},
|
||||
{
|
||||
triggers = ["open", "show"];
|
||||
preset = "appear";
|
||||
duration = 0.1;
|
||||
scale = 0.4;
|
||||
}
|
||||
)
|
||||
},
|
||||
|
||||
{
|
||||
match = "window_type = 'dock'";
|
||||
animations = (
|
||||
{
|
||||
triggers = ["focus-in", "focus-out"];
|
||||
opacity = {
|
||||
curve = "cubic-bezier(0, 0, 0, 1)";
|
||||
duration = 0.1;
|
||||
start = 0;
|
||||
end = 1;
|
||||
};
|
||||
blur-opacity = "opacity";
|
||||
shadow-opacity = "opacity";
|
||||
|
||||
scale-x = {
|
||||
curve = "cubic-bezier(0, 0, 0, 1)";
|
||||
duration = 0.15;
|
||||
start = 0.9;
|
||||
end = 1;
|
||||
};
|
||||
scale-y = "scale-x";
|
||||
|
||||
offset-x = "(1 - scale-x) / 2 * window-width";
|
||||
offset-y = "(1 - scale-y) / 2 * window-height";
|
||||
|
||||
shadow-scale-x = "scale-x";
|
||||
shadow-scale-y = "scale-y";
|
||||
shadow-offset-x = "offset-x";
|
||||
shadow-offset-y = "offset-y";
|
||||
},
|
||||
|
||||
{
|
||||
triggers = ["focus-out"];
|
||||
opacity = {
|
||||
curve = "cubic-bezier(0, 0, 0, 1)";
|
||||
duration = 0.1;
|
||||
start = 1;
|
||||
end = 0;
|
||||
};
|
||||
blur-opacity = "opacity";
|
||||
shadow-opacity = "opacity";
|
||||
|
||||
scale-x = {
|
||||
curve = "cubic-bezier(0, 0, 0, 1)";
|
||||
duration = 0.15;
|
||||
start = 1;
|
||||
end = 0.9;
|
||||
};
|
||||
scale-y = "scale-x";
|
||||
|
||||
offset-x = "(1 - scale-x) / 2 * window-width";
|
||||
offset-y = "(1 - scale-y) / 2 * window-height";
|
||||
|
||||
shadow-scale-x = "scale-x";
|
||||
shadow-scale-y = "scale-y";
|
||||
shadow-offset-x = "offset-x";
|
||||
shadow-offset-y = "offset-y";
|
||||
}
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user