From 7c9ca60e4433c45fd25069a5afababa723c9691e Mon Sep 17 00:00:00 2001 From: bbedward Date: Fri, 1 May 2026 18:09:12 -0400 Subject: [PATCH] revert animators --- .../Modals/Clipboard/ClipboardKeyboardHints.qml | 2 +- quickshell/Modals/Common/DankModalConnected.qml | 7 ++++--- quickshell/Modals/Common/DankModalStandalone.qml | 9 +++++---- .../DankLauncherV2ModalConnected.qml | 7 ++++--- .../DankLauncherV2ModalStandalone.qml | 9 +++++---- quickshell/Modals/FileBrowser/FileInfo.qml | 2 +- quickshell/Modals/FileBrowser/KeyboardHints.qml | 2 +- quickshell/Modals/Greeter/GreeterDoctorPage.qml | 2 +- quickshell/Modals/Greeter/GreeterStatusCard.qml | 2 +- quickshell/Modals/PowerMenuModal.qml | 2 +- .../BuiltinDesktopPlugins/DesktopClockWidget.qml | 8 ++++---- .../ControlCenter/Components/ActionTile.qml | 2 +- .../Components/DragDropWidgetWrapper.qml | 4 ++-- .../Modules/ControlCenter/ControlCenterPopout.qml | 2 +- .../Details/BluetoothCodecSelector.qml | 6 +++--- .../Modules/ControlCenter/Widgets/CompoundPill.qml | 2 +- .../Modules/ControlCenter/Widgets/ToggleButton.qml | 2 +- quickshell/Modules/DankBar/Widgets/AppsDock.qml | 12 ++++++------ .../DankBar/Widgets/AppsDockOverflowButton.qml | 2 +- .../Modules/DankBar/Widgets/CapsLockIndicator.qml | 2 +- quickshell/Modules/DankBar/Widgets/Media.qml | 2 +- .../Modules/DankBar/Widgets/PrivacyIndicator.qml | 4 ++-- .../Modules/DankBar/Widgets/SystemTrayBar.qml | 12 ++++++------ .../Modules/DankBar/Widgets/SystemUpdate.qml | 2 +- quickshell/Modules/DankBar/Widgets/Vpn.qml | 2 +- .../Modules/DankBar/Widgets/WorkspaceSwitcher.qml | 2 +- .../DankDash/Overview/CalendarOverviewCard.qml | 2 +- quickshell/Modules/Dock/DockApps.qml | 4 ++-- quickshell/Modules/Dock/DockOverflowButton.qml | 2 +- quickshell/Modules/Greetd/GreeterContent.qml | 12 ++++++------ quickshell/Modules/Lock/LockPowerMenu.qml | 2 +- quickshell/Modules/Lock/LockScreenContent.qml | 14 +++++++------- quickshell/Modules/Lock/LockSurface.qml | 2 +- quickshell/Modules/Notepad/NotepadTextEditor.qml | 2 +- .../Center/HistoryNotificationList.qml | 4 ++-- .../Center/KeyboardNavigatedNotificationList.qml | 4 ++-- .../Notifications/Center/NotificationCard.qml | 10 +++++----- .../Center/NotificationKeyboardHints.qml | 2 +- .../Notifications/Center/NotificationSettings.qml | 2 +- .../Notifications/Popup/NotificationPopup.qml | 4 ++-- quickshell/Modules/Settings/AudioTab.qml | 2 +- .../Modules/Settings/DesktopWidgetInstanceCard.qml | 2 +- quickshell/Modules/Settings/MediaPlayerTab.qml | 2 +- quickshell/Modules/Settings/PluginBrowser.qml | 2 +- quickshell/Modules/Settings/ThemeBrowser.qml | 2 +- quickshell/Modules/Settings/ThemeColorsTab.qml | 6 +++--- quickshell/Modules/Settings/WidgetsTabSection.qml | 4 ++-- quickshell/Modules/Settings/WorkspacesTab.qml | 2 +- quickshell/Modules/Toast.qml | 2 +- .../Modules/WorkspaceOverlays/HyprlandOverview.qml | 10 +++++----- quickshell/Widgets/DankButton.qml | 2 +- quickshell/Widgets/DankButtonGroup.qml | 4 ++-- quickshell/Widgets/DankCollapsibleSection.qml | 6 +++--- quickshell/Widgets/DankDropdown.qml | 2 +- quickshell/Widgets/DankLocationSearch.qml | 2 +- quickshell/Widgets/DankOSD.qml | 4 ++-- quickshell/Widgets/DankPopoutConnected.qml | 7 ++++--- quickshell/Widgets/DankPopoutStandalone.qml | 2 +- quickshell/Widgets/DankScrollbar.qml | 2 +- quickshell/Widgets/DankSeekbar.qml | 2 +- quickshell/Widgets/DankSlider.qml | 4 ++-- quickshell/Widgets/DankTabBar.qml | 2 +- quickshell/Widgets/DankToggle.qml | 4 ++-- quickshell/Widgets/StyledRect.qml | 2 +- quickshell/Widgets/StyledText.qml | 2 +- 65 files changed, 131 insertions(+), 126 deletions(-) diff --git a/quickshell/Modals/Clipboard/ClipboardKeyboardHints.qml b/quickshell/Modals/Clipboard/ClipboardKeyboardHints.qml index 0f189fa7..c9891eb7 100644 --- a/quickshell/Modals/Clipboard/ClipboardKeyboardHints.qml +++ b/quickshell/Modals/Clipboard/ClipboardKeyboardHints.qml @@ -41,7 +41,7 @@ Rectangle { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Modals/Common/DankModalConnected.qml b/quickshell/Modals/Common/DankModalConnected.qml index 7c4f2880..f56f60ff 100644 --- a/quickshell/Modals/Common/DankModalConnected.qml +++ b/quickshell/Modals/Common/DankModalConnected.qml @@ -7,6 +7,7 @@ import qs.Widgets Item { id: root + readonly property var log: Log.scoped("DankModalConnected") property var modalHandle: root property string layerNamespace: "dms:modal" @@ -503,10 +504,10 @@ Item { return WlrLayershell.Overlay; switch (Quickshell.env("DMS_MODAL_LAYER")) { case "bottom": - console.error("DankModal: 'bottom' layer is not valid for modals. Defaulting to 'top' layer."); + log.error("'bottom' layer is not valid for modals. Defaulting to 'top' layer."); return WlrLayershell.Top; case "background": - console.error("DankModal: 'background' layer is not valid for modals. Defaulting to 'top' layer."); + log.error("'background' layer is not valid for modals. Defaulting to 'top' layer."); return WlrLayershell.Top; case "overlay": return WlrLayershell.Overlay; @@ -756,7 +757,7 @@ Item { Behavior on opacity { enabled: root.animationsEnabled && (!Theme.isDirectionalEffect || Theme.isConnectedEffect) - OpacityAnimator { + NumberAnimation { duration: Math.round(Theme.variantDuration(animationDuration, root.shouldBeVisible) * Theme.variantOpacityDurationScale) easing.type: Easing.BezierSpline easing.bezierCurve: root.shouldBeVisible ? root.animationEnterCurve : root.animationExitCurve diff --git a/quickshell/Modals/Common/DankModalStandalone.qml b/quickshell/Modals/Common/DankModalStandalone.qml index c4ba7380..b1275d4f 100644 --- a/quickshell/Modals/Common/DankModalStandalone.qml +++ b/quickshell/Modals/Common/DankModalStandalone.qml @@ -7,6 +7,7 @@ import qs.Widgets Item { id: root + readonly property var log: Log.scoped("DankModalStandalone") property var modalHandle: root property string layerNamespace: "dms:modal" @@ -252,10 +253,10 @@ Item { return WlrLayershell.Overlay; switch (Quickshell.env("DMS_MODAL_LAYER")) { case "bottom": - console.error("DankModal: 'bottom' layer is not valid for modals. Defaulting to 'top' layer."); + log.error("'bottom' layer is not valid for modals. Defaulting to 'top' layer."); return WlrLayershell.Top; case "background": - console.error("DankModal: 'background' layer is not valid for modals. Defaulting to 'top' layer."); + log.error("'background' layer is not valid for modals. Defaulting to 'top' layer."); return WlrLayershell.Top; case "overlay": return WlrLayershell.Overlay; @@ -318,7 +319,7 @@ Item { Behavior on opacity { enabled: root.animationsEnabled - OpacityAnimator { + NumberAnimation { easing.type: Easing.BezierSpline duration: root.animationDuration easing.bezierCurve: root.shouldBeVisible ? root.animationEnterCurve : root.animationExitCurve @@ -407,7 +408,7 @@ Item { Behavior on opacity { enabled: root.animationsEnabled - OpacityAnimator { + NumberAnimation { duration: animationDuration easing.type: Easing.BezierSpline easing.bezierCurve: root.shouldBeVisible ? root.animationEnterCurve : root.animationExitCurve diff --git a/quickshell/Modals/DankLauncherV2/DankLauncherV2ModalConnected.qml b/quickshell/Modals/DankLauncherV2/DankLauncherV2ModalConnected.qml index 929e0e68..c51a1333 100644 --- a/quickshell/Modals/DankLauncherV2/DankLauncherV2ModalConnected.qml +++ b/quickshell/Modals/DankLauncherV2/DankLauncherV2ModalConnected.qml @@ -8,6 +8,7 @@ import qs.Widgets Item { id: root + readonly property var log: Log.scoped("DankLauncherV2ModalConnected") property var modalHandle: root @@ -643,10 +644,10 @@ Item { WlrLayershell.layer: { switch (Quickshell.env("DMS_MODAL_LAYER")) { case "bottom": - console.error("DankLauncherV2Modal: 'bottom' layer is not valid for modals. Defaulting to 'top' layer."); + log.error("'bottom' layer is not valid for modals. Defaulting to 'top' layer."); return WlrLayershell.Top; case "background": - console.error("DankLauncherV2Modal: 'background' layer is not valid for modals. Defaulting to 'top' layer."); + log.error("'background' layer is not valid for modals. Defaulting to 'top' layer."); return WlrLayershell.Top; case "overlay": return WlrLayershell.Overlay; @@ -836,7 +837,7 @@ Item { Behavior on opacity { enabled: root.animationsEnabled && (!Theme.isDirectionalEffect || Theme.isConnectedEffect) - OpacityAnimator { + NumberAnimation { easing.type: Easing.BezierSpline duration: Math.round(Theme.variantDuration(root.launcherAnimationDuration, launcherMotionVisible) * Theme.variantOpacityDurationScale) easing.bezierCurve: launcherMotionVisible ? root.launcherEnterCurve : root.launcherExitCurve diff --git a/quickshell/Modals/DankLauncherV2/DankLauncherV2ModalStandalone.qml b/quickshell/Modals/DankLauncherV2/DankLauncherV2ModalStandalone.qml index 6b1b1647..a352cb35 100644 --- a/quickshell/Modals/DankLauncherV2/DankLauncherV2ModalStandalone.qml +++ b/quickshell/Modals/DankLauncherV2/DankLauncherV2ModalStandalone.qml @@ -8,6 +8,7 @@ import qs.Widgets Item { id: root + readonly property var log: Log.scoped("DankLauncherV2ModalStandalone") property var modalHandle: root @@ -362,10 +363,10 @@ Item { WlrLayershell.layer: { switch (Quickshell.env("DMS_MODAL_LAYER")) { case "bottom": - console.error("DankModal: 'bottom' layer is not valid for modals. Defaulting to 'top' layer."); + log.error("'bottom' layer is not valid for modals. Defaulting to 'top' layer."); return WlrLayershell.Top; case "background": - console.error("DankModal: 'background' layer is not valid for modals. Defaulting to 'top' layer."); + log.error("'background' layer is not valid for modals. Defaulting to 'top' layer."); return WlrLayershell.Top; case "overlay": return WlrLayershell.Overlay; @@ -421,7 +422,7 @@ Item { transformOrigin: Item.Center Behavior on opacity { - OpacityAnimator { + NumberAnimation { easing.type: Easing.BezierSpline duration: Theme.modalAnimationDuration easing.bezierCurve: contentVisible ? Theme.expressiveCurves.expressiveDefaultSpatial : Theme.expressiveCurves.emphasized @@ -431,7 +432,7 @@ Item { } Behavior on scale { - ScaleAnimator { + NumberAnimation { easing.type: Easing.BezierSpline duration: Theme.modalAnimationDuration easing.bezierCurve: contentVisible ? Theme.expressiveCurves.expressiveDefaultSpatial : Theme.expressiveCurves.emphasized diff --git a/quickshell/Modals/FileBrowser/FileInfo.qml b/quickshell/Modals/FileBrowser/FileInfo.qml index 378a8128..df85f152 100644 --- a/quickshell/Modals/FileBrowser/FileInfo.qml +++ b/quickshell/Modals/FileBrowser/FileInfo.qml @@ -228,7 +228,7 @@ Rectangle { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Modals/FileBrowser/KeyboardHints.qml b/quickshell/Modals/FileBrowser/KeyboardHints.qml index 06d3c778..1910810d 100644 --- a/quickshell/Modals/FileBrowser/KeyboardHints.qml +++ b/quickshell/Modals/FileBrowser/KeyboardHints.qml @@ -42,7 +42,7 @@ Rectangle { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Modals/Greeter/GreeterDoctorPage.qml b/quickshell/Modals/Greeter/GreeterDoctorPage.qml index 9e403a7a..5d9b904e 100644 --- a/quickshell/Modals/Greeter/GreeterDoctorPage.qml +++ b/quickshell/Modals/Greeter/GreeterDoctorPage.qml @@ -180,7 +180,7 @@ Item { opacity: (root.hasRun && !root.isRunning) ? 1 : 0 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.emphasizedEasing } diff --git a/quickshell/Modals/Greeter/GreeterStatusCard.qml b/quickshell/Modals/Greeter/GreeterStatusCard.qml index 15b82d58..af0d5d67 100644 --- a/quickshell/Modals/Greeter/GreeterStatusCard.qml +++ b/quickshell/Modals/Greeter/GreeterStatusCard.qml @@ -22,7 +22,7 @@ Rectangle { scale: mouseArea.pressed ? 0.97 : 1 Behavior on scale { - ScaleAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.emphasizedEasing } diff --git a/quickshell/Modals/PowerMenuModal.qml b/quickshell/Modals/PowerMenuModal.qml index 2da5031f..c59037f0 100644 --- a/quickshell/Modals/PowerMenuModal.qml +++ b/quickshell/Modals/PowerMenuModal.qml @@ -772,7 +772,7 @@ DankModal { opacity: root.showHoldHint ? 1 : 0.5 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: 150 } } diff --git a/quickshell/Modules/BuiltinDesktopPlugins/DesktopClockWidget.qml b/quickshell/Modules/BuiltinDesktopPlugins/DesktopClockWidget.qml index 0f73f478..4bde60fa 100644 --- a/quickshell/Modules/BuiltinDesktopPlugins/DesktopClockWidget.qml +++ b/quickshell/Modules/BuiltinDesktopPlugins/DesktopClockWidget.qml @@ -214,13 +214,13 @@ Item { color: root.accentColor Behavior on x { - XAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } } Behavior on y { - YAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } @@ -278,13 +278,13 @@ Item { color: root.accentColor Behavior on x { - XAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.emphasizedEasing } } Behavior on y { - YAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.emphasizedEasing } diff --git a/quickshell/Modules/ControlCenter/Components/ActionTile.qml b/quickshell/Modules/ControlCenter/Components/ActionTile.qml index 4c126a97..1b1adb0f 100644 --- a/quickshell/Modules/ControlCenter/Components/ActionTile.qml +++ b/quickshell/Modules/ControlCenter/Components/ActionTile.qml @@ -47,7 +47,7 @@ Rectangle { opacity: mouseArea.containsMouse ? 0.08 : 0.0 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration } } diff --git a/quickshell/Modules/ControlCenter/Components/DragDropWidgetWrapper.qml b/quickshell/Modules/ControlCenter/Components/DragDropWidgetWrapper.qml index 1b93a9ae..268b72e1 100644 --- a/quickshell/Modules/ControlCenter/Components/DragDropWidgetWrapper.qml +++ b/quickshell/Modules/ControlCenter/Components/DragDropWidgetWrapper.qml @@ -51,7 +51,7 @@ Item { } } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: 150 } } @@ -299,7 +299,7 @@ Item { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: 150 } } diff --git a/quickshell/Modules/ControlCenter/ControlCenterPopout.qml b/quickshell/Modules/ControlCenter/ControlCenterPopout.qml index e556b231..5898406a 100644 --- a/quickshell/Modules/ControlCenter/ControlCenterPopout.qml +++ b/quickshell/Modules/ControlCenter/ControlCenterPopout.qml @@ -195,7 +195,7 @@ DankPopout { Behavior on opacity { enabled: !Theme.isDirectionalEffect - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Easing.BezierSpline easing.bezierCurve: root.shouldBeVisible ? Theme.variantPopoutEnterCurve : Theme.variantPopoutExitCurve diff --git a/quickshell/Modules/ControlCenter/Details/BluetoothCodecSelector.qml b/quickshell/Modules/ControlCenter/Details/BluetoothCodecSelector.qml index 96f92c4e..5d9e4313 100644 --- a/quickshell/Modules/ControlCenter/Details/BluetoothCodecSelector.qml +++ b/quickshell/Modules/ControlCenter/Details/BluetoothCodecSelector.qml @@ -127,7 +127,7 @@ Item { opacity: modalVisible ? 1 : 0 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.emphasizedEasing } @@ -316,14 +316,14 @@ Item { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.emphasizedEasing } } Behavior on scale { - ScaleAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.emphasizedEasing } diff --git a/quickshell/Modules/ControlCenter/Widgets/CompoundPill.qml b/quickshell/Modules/ControlCenter/Widgets/CompoundPill.qml index cc78435b..74679cc8 100644 --- a/quickshell/Modules/ControlCenter/Widgets/CompoundPill.qml +++ b/quickshell/Modules/ControlCenter/Widgets/CompoundPill.qml @@ -64,7 +64,7 @@ Rectangle { opacity: 0.08 antialiasing: true Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration } } diff --git a/quickshell/Modules/ControlCenter/Widgets/ToggleButton.qml b/quickshell/Modules/ControlCenter/Widgets/ToggleButton.qml index c6ce36bd..fbd8709a 100644 --- a/quickshell/Modules/ControlCenter/Widgets/ToggleButton.qml +++ b/quickshell/Modules/ControlCenter/Widgets/ToggleButton.qml @@ -53,7 +53,7 @@ Rectangle { opacity: mouseArea.containsMouse ? 0.08 : 0.0 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration } } diff --git a/quickshell/Modules/DankBar/Widgets/AppsDock.qml b/quickshell/Modules/DankBar/Widgets/AppsDock.qml index 8d3eb916..a8df08ba 100644 --- a/quickshell/Modules/DankBar/Widgets/AppsDock.qml +++ b/quickshell/Modules/DankBar/Widgets/AppsDock.qml @@ -474,14 +474,14 @@ BasePill { height: (isInOverflow && !root.overflowExpanded) ? 0 : visualHeight Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Easing.OutCubic } } Behavior on scale { - ScaleAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Easing.OutCubic } @@ -666,7 +666,7 @@ BasePill { transformOrigin: Item.Center scale: appItem.enlargeScale Behavior on scale { - ScaleAnimator { + NumberAnimation { duration: 120 easing.type: Easing.OutCubic } @@ -711,7 +711,7 @@ BasePill { transformOrigin: Item.Center scale: appItem.enlargeScale Behavior on scale { - ScaleAnimator { + NumberAnimation { duration: 120 easing.type: Easing.OutCubic } @@ -734,7 +734,7 @@ BasePill { transformOrigin: Item.Center scale: appItem.enlargeScale Behavior on scale { - ScaleAnimator { + NumberAnimation { duration: 120 easing.type: Easing.OutCubic } @@ -758,7 +758,7 @@ BasePill { transformOrigin: Item.Center scale: appItem.enlargeScale Behavior on scale { - ScaleAnimator { + NumberAnimation { duration: 120 easing.type: Easing.OutCubic } diff --git a/quickshell/Modules/DankBar/Widgets/AppsDockOverflowButton.qml b/quickshell/Modules/DankBar/Widgets/AppsDockOverflowButton.qml index 8be4aaa2..82c78d06 100644 --- a/quickshell/Modules/DankBar/Widgets/AppsDockOverflowButton.qml +++ b/quickshell/Modules/DankBar/Widgets/AppsDockOverflowButton.qml @@ -36,7 +36,7 @@ Item { rotation: isVertical ? (overflowExpanded ? 180 : 0) : (overflowExpanded ? 90 : -90) Behavior on rotation { - RotationAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Easing.OutCubic } diff --git a/quickshell/Modules/DankBar/Widgets/CapsLockIndicator.qml b/quickshell/Modules/DankBar/Widgets/CapsLockIndicator.qml index 4c64c9fb..ada41dd8 100644 --- a/quickshell/Modules/DankBar/Widgets/CapsLockIndicator.qml +++ b/quickshell/Modules/DankBar/Widgets/CapsLockIndicator.qml @@ -39,7 +39,7 @@ BasePill { ] Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Modules/DankBar/Widgets/Media.qml b/quickshell/Modules/DankBar/Widgets/Media.qml index 5af22c83..a1f7f05e 100644 --- a/quickshell/Modules/DankBar/Widgets/Media.qml +++ b/quickshell/Modules/DankBar/Widgets/Media.qml @@ -173,7 +173,7 @@ BasePill { opacity: root.playerAvailable ? 1 : 0 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Modules/DankBar/Widgets/PrivacyIndicator.qml b/quickshell/Modules/DankBar/Widgets/PrivacyIndicator.qml index dab9d96a..a09aa55f 100644 --- a/quickshell/Modules/DankBar/Widgets/PrivacyIndicator.qml +++ b/quickshell/Modules/DankBar/Widgets/PrivacyIndicator.qml @@ -50,7 +50,7 @@ BasePill { ] Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } @@ -238,7 +238,7 @@ BasePill { Behavior on opacity { enabled: hasActivePrivacy && root.visible - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Modules/DankBar/Widgets/SystemTrayBar.qml b/quickshell/Modules/DankBar/Widgets/SystemTrayBar.qml index 7e96f862..63ea0fee 100644 --- a/quickshell/Modules/DankBar/Widgets/SystemTrayBar.qml +++ b/quickshell/Modules/DankBar/Widgets/SystemTrayBar.qml @@ -271,7 +271,7 @@ BasePill { ] Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } @@ -625,7 +625,7 @@ BasePill { opacity: root.inlineExpanded ? 1 : 0 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } @@ -1214,14 +1214,14 @@ BasePill { scale: root.menuOpen ? 1 : 0.85 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.emphasizedEasing } } Behavior on scale { - ScaleAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.emphasizedEasing } @@ -1666,14 +1666,14 @@ BasePill { scale: menuRoot.showMenu ? 1 : 0.85 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.emphasizedEasing } } Behavior on scale { - ScaleAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.emphasizedEasing } diff --git a/quickshell/Modules/DankBar/Widgets/SystemUpdate.qml b/quickshell/Modules/DankBar/Widgets/SystemUpdate.qml index 0684f9cb..ac53c3fe 100644 --- a/quickshell/Modules/DankBar/Widgets/SystemUpdate.qml +++ b/quickshell/Modules/DankBar/Widgets/SystemUpdate.qml @@ -36,7 +36,7 @@ BasePill { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Modules/DankBar/Widgets/Vpn.qml b/quickshell/Modules/DankBar/Widgets/Vpn.qml index 3c74cd3c..fec33d0f 100644 --- a/quickshell/Modules/DankBar/Widgets/Vpn.qml +++ b/quickshell/Modules/DankBar/Widgets/Vpn.qml @@ -47,7 +47,7 @@ BasePill { anchors.centerIn: parent Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Easing.InOutQuad } diff --git a/quickshell/Modules/DankBar/Widgets/WorkspaceSwitcher.qml b/quickshell/Modules/DankBar/Widgets/WorkspaceSwitcher.qml index 989a013a..3721e350 100644 --- a/quickshell/Modules/DankBar/Widgets/WorkspaceSwitcher.qml +++ b/quickshell/Modules/DankBar/Widgets/WorkspaceSwitcher.qml @@ -1471,7 +1471,7 @@ Item { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.emphasizedEasing } diff --git a/quickshell/Modules/DankDash/Overview/CalendarOverviewCard.qml b/quickshell/Modules/DankDash/Overview/CalendarOverviewCard.qml index b867af68..5d2407c1 100644 --- a/quickshell/Modules/DankDash/Overview/CalendarOverviewCard.qml +++ b/quickshell/Modules/DankDash/Overview/CalendarOverviewCard.qml @@ -402,7 +402,7 @@ Rectangle { opacity: isToday ? 0.9 : 0.7 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Modules/Dock/DockApps.qml b/quickshell/Modules/Dock/DockApps.qml index e8670745..e11296c8 100644 --- a/quickshell/Modules/Dock/DockApps.qml +++ b/quickshell/Modules/Dock/DockApps.qml @@ -514,14 +514,14 @@ Item { height: (isInOverflow && !root.overflowExpanded) ? 0 : (itemData.type === "separator" ? (root.isVertical ? 8 : root.iconSize) : (root.isVertical ? root.iconSize * 1.2 : root.iconSize)) Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Easing.OutCubic } } Behavior on scale { - ScaleAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Easing.OutCubic } diff --git a/quickshell/Modules/Dock/DockOverflowButton.qml b/quickshell/Modules/Dock/DockOverflowButton.qml index 08940b15..0d6b439e 100644 --- a/quickshell/Modules/Dock/DockOverflowButton.qml +++ b/quickshell/Modules/Dock/DockOverflowButton.qml @@ -35,7 +35,7 @@ Item { rotation: isVertical ? (overflowExpanded ? 180 : 0) : (overflowExpanded ? 90 : -90) Behavior on rotation { - RotationAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Easing.OutCubic } diff --git a/quickshell/Modules/Greetd/GreeterContent.qml b/quickshell/Modules/Greetd/GreeterContent.qml index 647bc49c..e2af9a26 100644 --- a/quickshell/Modules/Greetd/GreeterContent.qml +++ b/quickshell/Modules/Greetd/GreeterContent.qml @@ -714,7 +714,7 @@ Item { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.standardEasing } @@ -1012,7 +1012,7 @@ Item { opacity: (GreeterState.showPasswordInput ? GreeterState.passwordBuffer.length === 0 : GreeterState.usernameInput.length === 0) ? 1 : 0 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.standardEasing } @@ -1049,7 +1049,7 @@ Item { horizontalAlignment: implicitWidth > width ? Text.AlignRight : Text.AlignLeft Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.standardEasing } @@ -1121,7 +1121,7 @@ Item { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } @@ -1151,7 +1151,7 @@ Item { opacity: root.authFeedbackMessage !== "" ? 1 : 0 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } @@ -1169,7 +1169,7 @@ Item { enabled: GreeterState.showPasswordInput Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Modules/Lock/LockPowerMenu.qml b/quickshell/Modules/Lock/LockPowerMenu.qml index 04bbc919..0a0ee849 100644 --- a/quickshell/Modules/Lock/LockPowerMenu.qml +++ b/quickshell/Modules/Lock/LockPowerMenu.qml @@ -779,7 +779,7 @@ Rectangle { opacity: root.showHoldHint ? 1 : 0.5 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: 150 } } diff --git a/quickshell/Modules/Lock/LockScreenContent.qml b/quickshell/Modules/Lock/LockScreenContent.qml index 4bcfe1cd..1a5bb5d7 100644 --- a/quickshell/Modules/Lock/LockScreenContent.qml +++ b/quickshell/Modules/Lock/LockScreenContent.qml @@ -214,7 +214,7 @@ Item { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.standardEasing } @@ -740,7 +740,7 @@ Item { opacity: pam.passwd.active ? 0 : 1 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.standardEasing } @@ -879,7 +879,7 @@ Item { opacity: (demoMode || root.passwordBuffer.length === 0) ? 1 : 0 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.standardEasing } @@ -916,7 +916,7 @@ Item { horizontalAlignment: implicitWidth > width ? Text.AlignRight : Text.AlignLeft Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.standardEasing } @@ -1053,7 +1053,7 @@ Item { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } @@ -1084,7 +1084,7 @@ Item { opacity: text.length > 0 ? 1 : 0 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } @@ -1114,7 +1114,7 @@ Item { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Modules/Lock/LockSurface.qml b/quickshell/Modules/Lock/LockSurface.qml index 357980d3..91057ce0 100644 --- a/quickshell/Modules/Lock/LockSurface.qml +++ b/quickshell/Modules/Lock/LockSurface.qml @@ -47,7 +47,7 @@ FocusScope { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: 200 } } diff --git a/quickshell/Modules/Notepad/NotepadTextEditor.qml b/quickshell/Modules/Notepad/NotepadTextEditor.qml index 2a7902ad..f989caa5 100644 --- a/quickshell/Modules/Notepad/NotepadTextEditor.qml +++ b/quickshell/Modules/Notepad/NotepadTextEditor.qml @@ -285,7 +285,7 @@ Column { radius: Theme.cornerRadius Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Modules/Notifications/Center/HistoryNotificationList.qml b/quickshell/Modules/Notifications/Center/HistoryNotificationList.qml index d95fe1aa..69fea418 100644 --- a/quickshell/Modules/Notifications/Center/HistoryNotificationList.qml +++ b/quickshell/Modules/Notifications/Center/HistoryNotificationList.qml @@ -283,7 +283,7 @@ Item { Behavior on x { enabled: !swipeDragHandler.active && delegateRoot.__delegateInitialized - XAnimator { + NumberAnimation { duration: Theme.notificationExitDuration easing.type: Theme.standardEasing } @@ -291,7 +291,7 @@ Item { Behavior on opacity { enabled: delegateRoot.__delegateInitialized - OpacityAnimator { + NumberAnimation { duration: delegateRoot.__delegateInitialized ? Theme.notificationExitDuration : 0 } } diff --git a/quickshell/Modules/Notifications/Center/KeyboardNavigatedNotificationList.qml b/quickshell/Modules/Notifications/Center/KeyboardNavigatedNotificationList.qml index a88a4ff5..9587e7a6 100644 --- a/quickshell/Modules/Notifications/Center/KeyboardNavigatedNotificationList.qml +++ b/quickshell/Modules/Notifications/Center/KeyboardNavigatedNotificationList.qml @@ -226,7 +226,7 @@ DankListView { Behavior on x { enabled: !swipeDragHandler.active && !delegateRoot.isDismissing && (listView.swipingCardIndex === -1 || !delegateRoot.isAdjacentToSwipe) && listView.listInitialized - XAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } @@ -234,7 +234,7 @@ DankListView { Behavior on opacity { enabled: listView.listInitialized - OpacityAnimator { + NumberAnimation { duration: listView.listInitialized ? Theme.shortDuration : 0 } } diff --git a/quickshell/Modules/Notifications/Center/NotificationCard.qml b/quickshell/Modules/Notifications/Center/NotificationCard.qml index 156253d6..788496b5 100644 --- a/quickshell/Modules/Notifications/Center/NotificationCard.qml +++ b/quickshell/Modules/Notifications/Center/NotificationCard.qml @@ -75,7 +75,7 @@ Rectangle { Behavior on scale { enabled: listLevelScaleAnimationsEnabled - ScaleAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } @@ -545,7 +545,7 @@ Rectangle { Behavior on x { enabled: !expandedSwipeHandler.active && !expandedDelegateWrapper.isDismissing - XAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } @@ -553,7 +553,7 @@ Rectangle { Behavior on scale { enabled: !expandedSwipeHandler.active - ScaleAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } @@ -762,7 +762,7 @@ Rectangle { spacing: contentSpacing Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } @@ -822,7 +822,7 @@ Rectangle { color: isHovered ? Theme.withAlpha(Theme.primary, Theme.stateLayerHover) : "transparent" Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Modules/Notifications/Center/NotificationKeyboardHints.qml b/quickshell/Modules/Notifications/Center/NotificationKeyboardHints.qml index 78cbe41b..78ba2d52 100644 --- a/quickshell/Modules/Notifications/Center/NotificationKeyboardHints.qml +++ b/quickshell/Modules/Notifications/Center/NotificationKeyboardHints.qml @@ -42,7 +42,7 @@ Rectangle { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Modules/Notifications/Center/NotificationSettings.qml b/quickshell/Modules/Notifications/Center/NotificationSettings.qml index 030fe43e..829471b4 100644 --- a/quickshell/Modules/Notifications/Center/NotificationSettings.qml +++ b/quickshell/Modules/Notifications/Center/NotificationSettings.qml @@ -27,7 +27,7 @@ Rectangle { opacity: expanded ? 1 : 0 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.emphasizedEasing } diff --git a/quickshell/Modules/Notifications/Popup/NotificationPopup.qml b/quickshell/Modules/Notifications/Popup/NotificationPopup.qml index 00067406..570fd829 100644 --- a/quickshell/Modules/Notifications/Popup/NotificationPopup.qml +++ b/quickshell/Modules/Notifications/Popup/NotificationPopup.qml @@ -996,7 +996,7 @@ PanelWindow { z: 20 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } @@ -1051,7 +1051,7 @@ PanelWindow { visible: actionCount < 3 && cardHoverHandler.hovered opacity: visible ? 1 : 0 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Modules/Settings/AudioTab.qml b/quickshell/Modules/Settings/AudioTab.qml index 62e8cd9f..c054791c 100644 --- a/quickshell/Modules/Settings/AudioTab.qml +++ b/quickshell/Modules/Settings/AudioTab.qml @@ -519,7 +519,7 @@ Item { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Modules/Settings/DesktopWidgetInstanceCard.qml b/quickshell/Modules/Settings/DesktopWidgetInstanceCard.qml index fe980fa6..4852d6b3 100644 --- a/quickshell/Modules/Settings/DesktopWidgetInstanceCard.qml +++ b/quickshell/Modules/Settings/DesktopWidgetInstanceCard.qml @@ -182,7 +182,7 @@ SettingsCard { opacity: visible ? 1 : 0 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.emphasizedEasing } diff --git a/quickshell/Modules/Settings/MediaPlayerTab.qml b/quickshell/Modules/Settings/MediaPlayerTab.qml index 2c89d500..a844a86f 100644 --- a/quickshell/Modules/Settings/MediaPlayerTab.qml +++ b/quickshell/Modules/Settings/MediaPlayerTab.qml @@ -107,7 +107,7 @@ Item { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.emphasizedEasing } diff --git a/quickshell/Modules/Settings/PluginBrowser.qml b/quickshell/Modules/Settings/PluginBrowser.qml index 68641d06..b1f0a6fb 100644 --- a/quickshell/Modules/Settings/PluginBrowser.qml +++ b/quickshell/Modules/Settings/PluginBrowser.qml @@ -587,7 +587,7 @@ FloatingWindow { border.color: buttonState === "incompatible" ? Theme.warning : Theme.outline Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Modules/Settings/ThemeBrowser.qml b/quickshell/Modules/Settings/ThemeBrowser.qml index 6d3622bd..1df32c75 100644 --- a/quickshell/Modules/Settings/ThemeBrowser.qml +++ b/quickshell/Modules/Settings/ThemeBrowser.qml @@ -619,7 +619,7 @@ FloatingWindow { border.color: isInstalled ? (uninstallMouseArea.containsMouse ? Theme.error : Theme.outline) : "transparent" Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Modules/Settings/ThemeColorsTab.qml b/quickshell/Modules/Settings/ThemeColorsTab.qml index 2a4551e1..e88408b2 100644 --- a/quickshell/Modules/Settings/ThemeColorsTab.qml +++ b/quickshell/Modules/Settings/ThemeColorsTab.qml @@ -380,7 +380,7 @@ Item { } Behavior on scale { - ScaleAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.emphasizedEasing } @@ -633,7 +633,7 @@ Item { scale: isActive ? 1.03 : 1 Behavior on scale { - ScaleAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.emphasizedEasing } @@ -989,7 +989,7 @@ Item { } Behavior on scale { - ScaleAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.emphasizedEasing } diff --git a/quickshell/Modules/Settings/WidgetsTabSection.qml b/quickshell/Modules/Settings/WidgetsTabSection.qml index c89ef949..e02245e4 100644 --- a/quickshell/Modules/Settings/WidgetsTabSection.qml +++ b/quickshell/Modules/Settings/WidgetsTabSection.qml @@ -308,7 +308,7 @@ Column { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } @@ -620,7 +620,7 @@ Column { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Modules/Settings/WorkspacesTab.qml b/quickshell/Modules/Settings/WorkspacesTab.qml index 4886e603..99955fd6 100644 --- a/quickshell/Modules/Settings/WorkspacesTab.qml +++ b/quickshell/Modules/Settings/WorkspacesTab.qml @@ -97,7 +97,7 @@ Item { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.emphasizedEasing } diff --git a/quickshell/Modules/Toast.qml b/quickshell/Modules/Toast.qml index aaeaeabc..55c57e3b 100644 --- a/quickshell/Modules/Toast.qml +++ b/quickshell/Modules/Toast.qml @@ -416,7 +416,7 @@ PanelWindow { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.emphasizedEasing } diff --git a/quickshell/Modules/WorkspaceOverlays/HyprlandOverview.qml b/quickshell/Modules/WorkspaceOverlays/HyprlandOverview.qml index eeac0c94..2c605d11 100644 --- a/quickshell/Modules/WorkspaceOverlays/HyprlandOverview.qml +++ b/quickshell/Modules/WorkspaceOverlays/HyprlandOverview.qml @@ -120,7 +120,7 @@ Scope { opacity: overviewScope.overviewOpen ? 0.5 : 0 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.variantDuration(Theme.expressiveDurations.expressiveDefaultSpatial, overviewScope.overviewOpen) easing.type: Easing.BezierSpline easing.bezierCurve: overviewScope.overviewOpen ? Theme.variantModalEnterCurve : Theme.variantModalExitCurve @@ -173,7 +173,7 @@ Scope { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.variantDuration(Theme.expressiveDurations.expressiveDefaultSpatial, overviewScope.overviewOpen) easing.type: Easing.BezierSpline easing.bezierCurve: overviewScope.overviewOpen ? Theme.variantModalEnterCurve : Theme.variantModalExitCurve @@ -181,7 +181,7 @@ Scope { } Behavior on scale { - ScaleAnimator { + NumberAnimation { duration: Theme.variantDuration(Theme.expressiveDurations.expressiveDefaultSpatial, overviewScope.overviewOpen) easing.type: Easing.BezierSpline easing.bezierCurve: overviewScope.overviewOpen ? Theme.variantModalEnterCurve : Theme.variantModalExitCurve @@ -189,7 +189,7 @@ Scope { } Behavior on x { - XAnimator { + NumberAnimation { duration: Theme.variantDuration(Theme.expressiveDurations.expressiveDefaultSpatial, overviewScope.overviewOpen) easing.type: Easing.BezierSpline easing.bezierCurve: overviewScope.overviewOpen ? Theme.variantModalEnterCurve : Theme.variantModalExitCurve @@ -197,7 +197,7 @@ Scope { } Behavior on y { - YAnimator { + NumberAnimation { duration: Theme.variantDuration(Theme.expressiveDurations.expressiveDefaultSpatial, overviewScope.overviewOpen) easing.type: Easing.BezierSpline easing.bezierCurve: overviewScope.overviewOpen ? Theme.variantModalEnterCurve : Theme.variantModalExitCurve diff --git a/quickshell/Widgets/DankButton.qml b/quickshell/Widgets/DankButton.qml index 93031a46..4f978d87 100644 --- a/quickshell/Widgets/DankButton.qml +++ b/quickshell/Widgets/DankButton.qml @@ -28,7 +28,7 @@ Rectangle { Behavior on scale { enabled: enableScaleAnimation && Theme.currentAnimationSpeed !== SettingsData.AnimationSpeed.None - ScaleAnimator { + NumberAnimation { easing.type: Easing.BezierSpline duration: 100 easing.bezierCurve: Theme.expressiveCurves.standard diff --git a/quickshell/Widgets/DankButtonGroup.qml b/quickshell/Widgets/DankButtonGroup.qml index 2a7cae27..02e145ed 100644 --- a/quickshell/Widgets/DankButtonGroup.qml +++ b/quickshell/Widgets/DankButtonGroup.qml @@ -197,7 +197,7 @@ Row { Behavior on opacity { enabled: root.userInteracted - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } @@ -205,7 +205,7 @@ Row { Behavior on scale { enabled: root.userInteracted - ScaleAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.emphasizedEasing } diff --git a/quickshell/Widgets/DankCollapsibleSection.qml b/quickshell/Widgets/DankCollapsibleSection.qml index 9c15c453..bb527e8a 100644 --- a/quickshell/Widgets/DankCollapsibleSection.qml +++ b/quickshell/Widgets/DankCollapsibleSection.qml @@ -45,7 +45,7 @@ ColumnLayout { Behavior on rotation { enabled: Theme.currentAnimationSpeed !== SettingsData.AnimationSpeed.None - RotationAnimator { + NumberAnimation { easing.type: Easing.BezierSpline duration: Theme.shortDuration easing.bezierCurve: Theme.expressiveCurves.standard @@ -89,7 +89,7 @@ ColumnLayout { Behavior on opacity { enabled: Theme.currentAnimationSpeed !== SettingsData.AnimationSpeed.None - OpacityAnimator { + NumberAnimation { easing.type: Easing.BezierSpline duration: Theme.shortDuration easing.bezierCurve: Theme.expressiveCurves.standard @@ -110,7 +110,7 @@ ColumnLayout { Behavior on opacity { enabled: Theme.currentAnimationSpeed !== SettingsData.AnimationSpeed.None - OpacityAnimator { + NumberAnimation { easing.type: Easing.BezierSpline duration: Theme.shortDuration easing.bezierCurve: Theme.expressiveCurves.standard diff --git a/quickshell/Widgets/DankDropdown.qml b/quickshell/Widgets/DankDropdown.qml index d8f2ad7e..05b962a0 100644 --- a/quickshell/Widgets/DankDropdown.qml +++ b/quickshell/Widgets/DankDropdown.qml @@ -187,7 +187,7 @@ Item { anchors.rightMargin: Theme.spacingS Behavior on rotation { - RotationAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Widgets/DankLocationSearch.qml b/quickshell/Widgets/DankLocationSearch.qml index a14829c9..d58538a8 100644 --- a/quickshell/Widgets/DankLocationSearch.qml +++ b/quickshell/Widgets/DankLocationSearch.qml @@ -157,7 +157,7 @@ Item { opacity: (locationInput.getActiveFocus() && locationInput.text.length > 2) ? 1 : 0 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Widgets/DankOSD.qml b/quickshell/Widgets/DankOSD.qml index d4db5d18..ad5625b8 100644 --- a/quickshell/Widgets/DankOSD.qml +++ b/quickshell/Widgets/DankOSD.qml @@ -315,14 +315,14 @@ PanelWindow { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: animationDuration easing.type: animationEasing } } Behavior on scale { - ScaleAnimator { + NumberAnimation { duration: animationDuration easing.type: animationEasing } diff --git a/quickshell/Widgets/DankPopoutConnected.qml b/quickshell/Widgets/DankPopoutConnected.qml index 3dad5209..fd60b7b7 100644 --- a/quickshell/Widgets/DankPopoutConnected.qml +++ b/quickshell/Widgets/DankPopoutConnected.qml @@ -7,6 +7,7 @@ import "../Common/ConnectorGeometry.js" as ConnectorGeometry Item { id: root + readonly property var log: Log.scoped("DankPopoutConnected") property var popoutHandle: root property string layerNamespace: "dms:popout" @@ -728,10 +729,10 @@ Item { WlrLayershell.layer: { switch (Quickshell.env("DMS_POPOUT_LAYER")) { case "bottom": - console.warn("DankPopout: 'bottom' layer is not valid for popouts. Defaulting to 'top' layer."); + log.warn("'bottom' layer is not valid for popouts. Defaulting to 'top' layer."); return WlrLayershell.Top; case "background": - console.warn("DankPopout: 'background' layer is not valid for popouts. Defaulting to 'top' layer."); + log.warn("'background' layer is not valid for popouts. Defaulting to 'top' layer."); return WlrLayershell.Top; case "overlay": return WlrLayershell.Overlay; @@ -1085,7 +1086,7 @@ Item { Behavior on opacity { enabled: !Theme.isDirectionalEffect - OpacityAnimator { + NumberAnimation { duration: Math.round(Theme.variantDuration(animationDuration, shouldBeVisible) * Theme.variantOpacityDurationScale) easing.type: Easing.BezierSpline easing.bezierCurve: root.shouldBeVisible ? root.animationEnterCurve : root.animationExitCurve diff --git a/quickshell/Widgets/DankPopoutStandalone.qml b/quickshell/Widgets/DankPopoutStandalone.qml index 4d430faa..e7b2e9c8 100644 --- a/quickshell/Widgets/DankPopoutStandalone.qml +++ b/quickshell/Widgets/DankPopoutStandalone.qml @@ -837,7 +837,7 @@ Item { Behavior on opacity { enabled: !Theme.isDirectionalEffect - OpacityAnimator { + NumberAnimation { duration: Math.round(Theme.variantDuration(root.animationDuration, root.shouldBeVisible) * Theme.variantOpacityDurationScale) easing.type: Easing.BezierSpline easing.bezierCurve: root.shouldBeVisible ? root.animationEnterCurve : root.animationExitCurve diff --git a/quickshell/Widgets/DankScrollbar.qml b/quickshell/Widgets/DankScrollbar.qml index 5e3eba8d..c5d2d70a 100644 --- a/quickshell/Widgets/DankScrollbar.qml +++ b/quickshell/Widgets/DankScrollbar.qml @@ -23,7 +23,7 @@ ScrollBar { visible: policy !== ScrollBar.AlwaysOff Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: 160 easing.type: Easing.OutQuad } diff --git a/quickshell/Widgets/DankSeekbar.qml b/quickshell/Widgets/DankSeekbar.qml index 80c2aaf3..85f13a50 100644 --- a/quickshell/Widgets/DankSeekbar.qml +++ b/quickshell/Widgets/DankSeekbar.qml @@ -225,7 +225,7 @@ Item { y: parent.midY - height / 2 z: 3 Behavior on x { - XAnimator { + NumberAnimation { duration: 80 } } diff --git a/quickshell/Widgets/DankSlider.qml b/quickshell/Widgets/DankSlider.qml index 6ce6fd67..70926448 100644 --- a/quickshell/Widgets/DankSlider.qml +++ b/quickshell/Widgets/DankSlider.qml @@ -171,7 +171,7 @@ Item { scale: active ? 1.05 : 1.0 Behavior on scale { - ScaleAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } @@ -278,7 +278,7 @@ Item { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Theme.shortDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Widgets/DankTabBar.qml b/quickshell/Widgets/DankTabBar.qml index 2aafb33b..d3b72f12 100644 --- a/quickshell/Widgets/DankTabBar.qml +++ b/quickshell/Widgets/DankTabBar.qml @@ -201,7 +201,7 @@ FocusScope { Behavior on x { enabled: indicator.animationEnabled - XAnimator { + NumberAnimation { duration: Theme.mediumDuration easing.type: Theme.standardEasing } diff --git a/quickshell/Widgets/DankToggle.qml b/quickshell/Widgets/DankToggle.qml index 5a18ae51..76c21caa 100644 --- a/quickshell/Widgets/DankToggle.qml +++ b/quickshell/Widgets/DankToggle.qml @@ -168,14 +168,14 @@ Item { scale: (toggle.checked && toggle.enabled) ? 1 : 0.6 Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: Anims.durShort easing.type: Easing.BezierSpline easing.bezierCurve: Anims.emphasized } } Behavior on scale { - ScaleAnimator { + NumberAnimation { duration: Anims.durShort easing.type: Easing.BezierSpline easing.bezierCurve: Anims.emphasized diff --git a/quickshell/Widgets/StyledRect.qml b/quickshell/Widgets/StyledRect.qml index 1382c64d..03ab84b2 100644 --- a/quickshell/Widgets/StyledRect.qml +++ b/quickshell/Widgets/StyledRect.qml @@ -20,7 +20,7 @@ Rectangle { } Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: standardAnimation.duration easing.type: standardAnimation["easing.type"] easing.bezierCurve: standardAnimation["easing.bezierCurve"] diff --git a/quickshell/Widgets/StyledText.qml b/quickshell/Widgets/StyledText.qml index 25a2d9c1..3c07ab1f 100644 --- a/quickshell/Widgets/StyledText.qml +++ b/quickshell/Widgets/StyledText.qml @@ -40,7 +40,7 @@ Text { //renderType: Text.NativeRendering Behavior on opacity { - OpacityAnimator { + NumberAnimation { duration: standardAnimation.duration easing.type: standardAnimation["easing.type"] easing.bezierCurve: standardAnimation["easing.bezierCurve"]