refactor: hyprland classic animation

This commit is contained in:
hesam-init 2024-10-10 14:12:16 +03:30
parent 4477b50cdf
commit ebe76cca67
2 changed files with 21 additions and 9 deletions

View file

@ -1 +1 @@
source = ~/.config/hypr/configs/animation/variants/animations-river.conf
source = ~/.config/hypr/configs/animation/variants/animations-classic.conf

View file

@ -5,11 +5,23 @@
animations {
enabled = true
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default
}
# Use a smoother cubic-bezier curve for all animations (ease-in-out style)
bezier = smooth, 0.25, 0.8, 0.25, 1
bezier = classic, 0.42, 0, 0.58, 1
# Window animations: in and out transitions
animation = windowsIn, 1, 6, smooth # Slower fade-in
animation = windowsOut, 1, 6, smooth, slide left # Slower, with a gentle slide-out
# Border animations: faster but still smooth transitions
animation = border, 1, 12, smooth
animation = borderangle, 1, 10, smooth
# Fade animation: slow and subtle to give a smooth appearance
animation = fade, 1, 10, default
# Workspace switch animations: a bit slower to enhance smooth transitions
animation = workspaces, 1, 8, smooth
animation = specialWorkspace, 1, 7, smooth, slidevert
}