From aefeeb8f6f54c0fc22862c378ae94b3ddfe7451b Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Thu, 19 Jun 2025 00:36:46 +0200 Subject: [PATCH] adjust anim curves --- .config/quickshell/modules/common/Appearance.qml | 2 ++ .config/quickshell/settings.qml | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.config/quickshell/modules/common/Appearance.qml b/.config/quickshell/modules/common/Appearance.qml index c2a20fdfb..a4fadc31f 100644 --- a/.config/quickshell/modules/common/Appearance.qml +++ b/.config/quickshell/modules/common/Appearance.qml @@ -188,6 +188,8 @@ Singleton { readonly property list expressiveSlowSpatial: [0.39, 1.29, 0.35, 0.98, 1, 1] // Default, 650ms readonly property list expressiveEffects: [0.34, 0.80, 0.34, 1.00, 1, 1] // Default, 200ms readonly property list emphasized: [0.05, 0, 2 / 15, 0.06, 1 / 6, 0.4, 5 / 24, 0.82, 0.25, 1, 1, 1] + readonly property list emphasizedFirstHalf: [0.05, 0, 2 / 15, 0.06, 1 / 6, 0.4, 5 / 24, 0.82] + readonly property list emphasizedLastHalf: [5 / 24, 0.82, 0.25, 1, 1, 1] readonly property list emphasizedAccel: [0.3, 0, 0.8, 0.15, 1, 1] readonly property list emphasizedDecel: [0.05, 0.7, 0.1, 1, 1, 1] readonly property list standard: [0.2, 0, 0, 1, 1, 1] diff --git a/.config/quickshell/settings.qml b/.config/quickshell/settings.qml index 2ac803068..e5cf1c310 100644 --- a/.config/quickshell/settings.qml +++ b/.config/quickshell/settings.qml @@ -193,9 +193,9 @@ ApplicationWindow { properties: "opacity" from: 1 to: 0 - duration: 200 + duration: 150 easing.type: Appearance.animation.elementMoveExit.type - easing.bezierCurve: Appearance.animation.elementMoveExit.bezierCurve + easing.bezierCurve: Appearance.animationCurves.emphasizedFirstHalf } PropertyAction { target: pageLoader @@ -207,9 +207,9 @@ ApplicationWindow { properties: "opacity" from: 0 to: 1 - duration: 200 + duration: 250 easing.type: Appearance.animation.elementMoveEnter.type - easing.bezierCurve: Appearance.animation.elementMoveEnter.bezierCurve + easing.bezierCurve: Appearance.animationCurves.emphasizedLastHalf } } }