animations: use material curves

This commit is contained in:
2 * r + 2 * t 2025-04-29 17:03:04 +10:00
parent da039bcbb0
commit 8211d509df
2 changed files with 14 additions and 15 deletions

View file

@ -2,25 +2,24 @@ animations {
enabled = true
# Animation curves
bezier = linear, 0, 0, 1, 1
bezier = tinyshot, 0.05, 0.9, 0.1, 1.05
bezier = workSwitch, 0.1, 1, 0, 1
bezier = specialWorkSwitch, 0.05, 0.7, 0.1, 1
bezier = quart, 0.25, 1, 0.5, 1
bezier = emphasizedAccel, 0.3, 0, 0.8, 0.15
bezier = emphasizedDecel, 0.05, 0.7, 0.1, 1
bezier = standard, 0.2, 0, 0, 1
# Animation configs
animation = layersIn, 1, 3, tinyshot, slide 85%
animation = layersOut, 1, 3, tinyshot, slide 85%
animation = layersIn, 1, 5, emphasizedDecel, slide
animation = layersOut, 1, 4, emphasizedAccel, slide
animation = fadeLayers, 1, 5, standard
animation = windows, 1, 6, quart, slide
animation = workspaces, 1, 6, quart
animation = windowsIn, 1, 5, emphasizedDecel
animation = windowsOut, 1, 3, emphasizedAccel
animation = windowsMove, 1, 6, standard
animation = workspaces, 1, 5, standard
animation = specialWorkspace, 1, 4, specialWorkSwitch, slidefadevert 15%
animation = fade, 1, 6, quart
animation = fadeDim, 1, 6, quart
animation = border, 1, 6, quart
animation = borderangle, 1, 6, quart
animation = fadeLayersIn, 1, 2, linear
animation = fade, 1, 6, standard
animation = fadeDim, 1, 6, standard
animation = border, 1, 6, standard
}

View file

@ -82,7 +82,7 @@ layerrule = animation popin 80%, launcher
layerrule = blur, launcher
# Shell
layerrule = animation popin 80%, caelestia-launcher
layerrule = animation popin, caelestia-launcher
layerrule = animation fade, caelestia-session
layerrule = animation fade, caelestia-lock-(caps|num)
layerrule = animation fade, caelestia-tooltip