From 753a5b1733d28f47801b8bb1e34a4f6444938e68 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Mon, 3 Jun 2024 10:01:36 +0200 Subject: [PATCH] Add animations! --- gui/hypr/hyprland.conf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gui/hypr/hyprland.conf b/gui/hypr/hyprland.conf index dcb2ebb5..ff9eca5a 100644 --- a/gui/hypr/hyprland.conf +++ b/gui/hypr/hyprland.conf @@ -177,6 +177,30 @@ decoration { animations { enabled = $settingsEnableAnimations + bezier=plain, 0, 0, 1, 1 # straight curve + bezier=easeInSine, 0.12, 0, 0.39, 0 # slowest ease in + bezier=easeInQuart, 0.5, 0, 0.75, 0 # slow ease in + bezier=easeInQuint, 0.64, 0, 0.78, 0 # fast ease in + bezier=easeInExpo, 0.7, 0, 0.84, 0 # fastest ease in + bezier=easeOutSine, 0.61, 1, 0.88, 1 # slowest ease out + bezier=easeOutQuart, 0.25, 1, 0.5, 1 # slow ease out + bezier=easeOutQuint, 0.22, 1, 0.36, 1 # fast ease out + bezier=easeOutExpo, 0.16, 1, 0.3, 1 # fastest ease out + + animation=windowsIn, 1, 4, easeOutSine # window open animation + animation=windowsOut, 1, 5, easeInSine # window close animation + #animation=windowsMove, 1, 6, easeOutExpo # window move/drag/resize animation + + animation=fadeIn, 1, 4, easeOutSine # window open fade animation + animation=fadeOut, 1, 4, easeOutSine # window close fade animation + animation=fadeSwitch, 1, 10, easeOutQuart # focus switch opacity fade animation + animation=fadeShadow, 1, 10, easeOutQuart # focus switch shadow fade animation + animation=fadeDim, 1, 10, easeOutQuart # focus switch dim fade animation + + animation=border, 1, 2, easeOutExpo # focus switch border animation + animation=borderangle, 1, 100, plain, loop # border color switch animation + #animation=workspaces, 1, 10, easeInQuart, slidefade # workspace switch animation + #animation=specialWorkspace, 1, 10, easeInQuart, slidefade # special workspace toggle animation } input {