From c5f145be36dac3faa983ce5d7305010ec2683b0a Mon Sep 17 00:00:00 2001 From: Kangheng Liu <72962885+kanghengliu@users.noreply.github.com> Date: Mon, 23 Mar 2026 09:21:21 -0400 Subject: [PATCH] feat: animate dock apps on entry addition/deletion (#2064) --- quickshell/Modules/Dock/DockApps.qml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/quickshell/Modules/Dock/DockApps.qml b/quickshell/Modules/Dock/DockApps.qml index 6d2990d7..dbdc5175 100644 --- a/quickshell/Modules/Dock/DockApps.qml +++ b/quickshell/Modules/Dock/DockApps.qml @@ -73,6 +73,20 @@ Item { id: appLayout width: layoutFlow.width height: layoutFlow.height + + Behavior on width { + NumberAnimation { + duration: Theme.shortDuration + easing.type: Easing.OutCubic + } + } + + Behavior on height { + NumberAnimation { + duration: Theme.shortDuration + easing.type: Easing.OutCubic + } + } anchors.horizontalCenter: root.isVertical ? undefined : parent.horizontalCenter anchors.verticalCenter: root.isVertical ? parent.verticalCenter : undefined anchors.left: root.isVertical && SettingsData.dockPosition === SettingsData.Position.Left ? parent.left : undefined