[style] update animations config

This commit is contained in:
SouthFox 2024-12-27 17:48:58 +08:00
parent 975aec8881
commit 2b62283909

View file

@ -116,30 +116,38 @@ decoration {
animations { animations {
enabled = yes, please :) enabled = yes, please :)
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
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.0
bezier = quick,0.15,0,0.1,1 bezier = quick,0.15,0,0.1,1
animation = global, 1, 10, default bezier = linear, 0, 0, 1, 1
animation = border, 1, 5.39, easeOutQuint bezier = md3_standard, 0.2, 0, 0, 1
animation = windows, 1, 4.79, easeOutQuint bezier = md3_decel, 0.05, 0.7, 0.1, 1
animation = windowsIn, 1, 4.1, easeOutQuint, popin 87% bezier = md3_accel, 0.3, 0, 0.8, 0.15
animation = windowsOut, 1, 1.49, linear, popin 87% bezier = overshot, 0.05, 0.9, 0.1, 1.1
animation = fadeIn, 1, 1.73, almostLinear bezier = crazyshot, 0.1, 1.5, 0.76, 0.92
animation = fadeOut, 1, 1.46, almostLinear bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
animation = fade, 1, 3.03, quick bezier = menu_decel, 0.1, 1, 0, 1
animation = layers, 1, 3.81, easeOutQuint bezier = menu_accel, 0.38, 0.04, 1, 0.07
animation = layersIn, 1, 4, easeOutQuint, fade bezier = easeInOutCirc, 0.85, 0, 0.15, 1
animation = layersOut, 1, 1.5, linear, fade bezier = easeOutCirc, 0, 0.55, 0.45, 1
animation = fadeLayersIn, 1, 1.79, almostLinear bezier = easeOutExpo, 0.16, 1, 0.3, 1
animation = fadeLayersOut, 1, 1.39, almostLinear bezier = softAcDecel, 0.26, 0.26, 0.15, 1
animation = workspaces, 1, 1.94, almostLinear, fade bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration
animation = workspacesIn, 1, 1.21, almostLinear, fade # Animation configs
animation = workspacesOut, 1, 1.94, almostLinear, fade animation = windows, 1, 3, md3_decel, popin 60%
animation = windowsIn, 1, 3, md3_decel, popin 60%
animation = windowsOut, 1, 3, md3_accel, popin 60%
animation = border, 1, 10, default
animation = fade, 1, 3, md3_decel
animation = layersIn, 1, 3, menu_decel, slide
animation = layersOut, 1, 1.6, menu_accel
animation = fadeLayersIn, 1, 2, menu_decel
animation = fadeLayersOut, 1, 4.5, menu_accel
animation = workspaces, 1, 7, menu_decel, slide
animation = specialWorkspace, 1, 3, md3_decel, slidevert
} }
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/ # Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/