config: format animation config as table for readability (#11326)

This commit is contained in:
Moh Oktavi Aziz Nugraha 2025-08-06 00:31:32 +07:00 committed by GitHub
parent 2859f1b795
commit 3c6536d932
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -125,31 +125,33 @@ decoration {
animations { animations {
enabled = yes, please :) enabled = yes, please :)
# Default animations, see https://wiki.hypr.land/Configuring/Animations/ for more # Default curves, see https://wiki.hypr.land/Configuring/Animations/#curves
# NAME, X0, Y0, X1, Y1
bezier = easeOutQuint, 0.23, 1, 0.32, 1
bezier = easeInOutCubic, 0.65, 0.05, 0.36, 1
bezier = linear, 0, 0, 1, 1
bezier = almostLinear, 0.5, 0.5, 0.75, 1
bezier = quick, 0.15, 0, 0.1, 1
bezier = easeOutQuint,0.23,1,0.32,1 # Default animations, see https://wiki.hypr.land/Configuring/Animations/
bezier = easeInOutCubic,0.65,0.05,0.36,1 # NAME, ONOFF, SPEED, CURVE, [STYLE]
bezier = linear,0,0,1,1 animation = global, 1, 10, default
bezier = almostLinear,0.5,0.5,0.75,1.0 animation = border, 1, 5.39, easeOutQuint
bezier = quick,0.15,0,0.1,1 animation = windows, 1, 4.79, easeOutQuint
animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
animation = global, 1, 10, default animation = windowsOut, 1, 1.49, linear, popin 87%
animation = border, 1, 5.39, easeOutQuint animation = fadeIn, 1, 1.73, almostLinear
animation = windows, 1, 4.79, easeOutQuint animation = fadeOut, 1, 1.46, almostLinear
animation = windowsIn, 1, 4.1, easeOutQuint, popin 87% animation = fade, 1, 3.03, quick
animation = windowsOut, 1, 1.49, linear, popin 87% animation = layers, 1, 3.81, easeOutQuint
animation = fadeIn, 1, 1.73, almostLinear animation = layersIn, 1, 4, easeOutQuint, fade
animation = fadeOut, 1, 1.46, almostLinear animation = layersOut, 1, 1.5, linear, fade
animation = fade, 1, 3.03, quick animation = fadeLayersIn, 1, 1.79, almostLinear
animation = layers, 1, 3.81, easeOutQuint animation = fadeLayersOut, 1, 1.39, almostLinear
animation = layersIn, 1, 4, easeOutQuint, fade animation = workspaces, 1, 1.94, almostLinear, fade
animation = layersOut, 1, 1.5, linear, fade animation = workspacesIn, 1, 1.21, almostLinear, fade
animation = fadeLayersIn, 1, 1.79, almostLinear animation = workspacesOut, 1, 1.94, almostLinear, fade
animation = fadeLayersOut, 1, 1.39, almostLinear animation = zoomFactor, 1, 7, quick
animation = workspaces, 1, 1.94, almostLinear, fade
animation = workspacesIn, 1, 1.21, almostLinear, fade
animation = workspacesOut, 1, 1.94, almostLinear, fade
animation = zoomFactor, 1, 7, quick
} }
# Ref https://wiki.hypr.land/Configuring/Workspace-Rules/ # Ref https://wiki.hypr.land/Configuring/Workspace-Rules/