You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently you can only use the pre-compiled presets, while these are great, they're only useful if you like the presets and the configuration options they've. And if you instead want some proper custom animations, and want specific animations per window type, etc, then you're going to be repeating yourself a lot.
And so I propose the ability to make your own presets that can be used.
They would function mostly identically to animation_presets.conf for the preset themselves, and the syntax could be something like this:
# Very barebones presets, I'm not entirely certain on whether the config# parser supports labeled arrays/objects? If not it may be a better idea# to have the array items have an extra property for the name of preset# instead, i.e:## animation-presets = ({# preset-name: "fade"# })#
animation-presets = (
fade = {
opacity = {
duration = "placeholder0";
start = "window-raw-opacity-before";
end = "window-raw-opacity";
}
*knobs = {
scale = 0.95;
duration = 0.2;
}
*placeholders = ((0, "duration"));
},
fade-and-slide = {
opacity = {
duration = "placeholder0";
end = "window-raw-opacity";
start = "window-raw-opacity-before";
}
offset-y = {
start = 0;
end = "window-height";
duration = "placeholder0";
}
*knobs = {
duration = 0.2;
}
*placeholders = ((0, "duration"));
}
)
The text was updated successfully, but these errors were encountered:
0neGal
changed the title
Add the ability to make custom presets
Add the ability to make custom animation presets
Aug 21, 2024
Currently you can only use the pre-compiled presets, while these are great, they're only useful if you like the presets and the configuration options they've. And if you instead want some proper custom animations, and want specific animations per window type, etc, then you're going to be repeating yourself a lot.
And so I propose the ability to make your own presets that can be used.
They would function mostly identically to
animation_presets.conf
for the preset themselves, and the syntax could be something like this:The text was updated successfully, but these errors were encountered: