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,14 +125,16 @@ 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 = easeOutQuint, 0.23, 1, 0.32, 1
bezier = easeInOutCubic, 0.65, 0.05, 0.36, 1 bezier = easeInOutCubic, 0.65, 0.05, 0.36, 1
bezier = linear, 0, 0, 1, 1 bezier = linear, 0, 0, 1, 1
bezier = almostLinear,0.5,0.5,0.75,1.0 bezier = almostLinear, 0.5, 0.5, 0.75, 1
bezier = quick, 0.15, 0, 0.1, 1 bezier = quick, 0.15, 0, 0.1, 1
# Default animations, see https://wiki.hypr.land/Configuring/Animations/
# NAME, ONOFF, SPEED, CURVE, [STYLE]
animation = global, 1, 10, default animation = global, 1, 10, default
animation = border, 1, 5.39, easeOutQuint animation = border, 1, 5.39, easeOutQuint
animation = windows, 1, 4.79, easeOutQuint animation = windows, 1, 4.79, easeOutQuint