diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-07-14 20:52:36 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-07-14 23:06:57 +0800 |
| commit | 4ee41ffb590a1e6c3a4fc238d9af9295344fc6a1 (patch) | |
| tree | 7721896e928b82550c42b15203bec5ff40d6aa9c /config | |
| parent | cdb3bc858e3d1cf535b64611744b4adb1e3621a6 (diff) | |
workspace: animation
Diffstat (limited to 'config')
| -rw-r--r-- | config/Bar.qml | 2 | ||||
| -rw-r--r-- | config/General.qml | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/config/Bar.qml b/config/Bar.qml index 99e1760..198ae4f 100644 --- a/config/Bar.qml +++ b/config/Bar.qml @@ -26,6 +26,8 @@ Singleton { readonly property double workspaceOpacity: 0.8 readonly property int workspaceActiveOpacity: 1 readonly property double workspaceEmptyOpacity: 0.2 + // workspaceAnimationEasing using Hyprland's actual ws animation easing + readonly property int workspaceAnimationDuration: 200 readonly property int appIconSize: 25 diff --git a/config/General.qml b/config/General.qml index a42894b..d9993c6 100644 --- a/config/General.qml +++ b/config/General.qml @@ -16,4 +16,7 @@ Singleton { readonly property int rectMargin: Style.spacing.small readonly property int fontSize: Style.font.size.larger + + readonly property real springAnimationSpring: 8 + readonly property real springAnimationDamping: 0.4 } |
