From 7d81c0e9f5a66eeaf5721bcc218ab548e2278497 Mon Sep 17 00:00:00 2001 From: lucy Date: Tue, 3 Feb 2026 21:16:32 +0100 Subject: [PATCH] smoother hyprland animations --- hypr/hyprland.conf | 35 ++++++++++++----------------------- 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index ae0a35d..0087b1b 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -142,32 +142,21 @@ device { } # https://wiki.hyprland.org/Configuring/Variables/#animations animations { - enabled = yes, please :) + enabled = yes - # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more + # A smoother bezier curve for sliding animations + bezier = smooth, 0.23, 1, 0.32, 1 - 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.0 - bezier = quick,0.15,0,0.1,1 + # Use slide for everything + animation = windows, 1, 5, smooth, slide + animation = workspaces, 1, 5, smooth, slide + animation = layers, 1, 5, smooth, slide + + # Fading animation + animation = fade, 1, 5, default - animation = global, 1, 10, default - animation = border, 1, 5.39, easeOutQuint - animation = windows, 1, 4.79, easeOutQuint - animation = windowsIn, 1, 4.1, easeOutQuint, popin 87% - animation = windowsOut, 1, 1.49, linear, popin 87% - animation = fadeIn, 1, 1.73, almostLinear - animation = fadeOut, 1, 1.46, almostLinear - animation = fade, 1, 3.03, quick - animation = layers, 1, 3.81, easeOutQuint - animation = layersIn, 1, 4, easeOutQuint, fade - animation = layersOut, 1, 1.5, linear, fade - animation = fadeLayersIn, 1, 1.79, almostLinear - animation = fadeLayersOut, 1, 1.39, almostLinear - animation = workspaces, 1, 1.94, almostLinear, fade - animation = workspacesIn, 1, 1.21, almostLinear, fade - animation = workspacesOut, 1, 1.94, almostLinear, fade + # Border animation + animation = border, 1, 10, default } # Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/