diff --git a/dots/.config/quickshell/ii/modules/background/cookieClock/HourHand.qml b/dots/.config/quickshell/ii/modules/background/cookieClock/HourHand.qml index c80d8839d..5c355d345 100644 --- a/dots/.config/quickshell/ii/modules/background/cookieClock/HourHand.qml +++ b/dots/.config/quickshell/ii/modules/background/cookieClock/HourHand.qml @@ -19,6 +19,14 @@ Item { } rotation: -90 + (360 / 12) * (root.clockHour + root.clockMinute / 60) + Behavior on rotation { + animation: RotationAnimation { + direction: RotationAnimation.Clockwise + duration: 300 + easing.type: Easing.BezierSpline + easing.bezierCurve: Appearance.animationCurves.emphasized + } + } Rectangle { anchors.verticalCenter: parent.verticalCenter diff --git a/dots/.config/quickshell/ii/modules/background/cookieClock/MinuteHand.qml b/dots/.config/quickshell/ii/modules/background/cookieClock/MinuteHand.qml index ca3884d19..764c14f2b 100644 --- a/dots/.config/quickshell/ii/modules/background/cookieClock/MinuteHand.qml +++ b/dots/.config/quickshell/ii/modules/background/cookieClock/MinuteHand.qml @@ -14,9 +14,13 @@ Item { property color color: Appearance.colors.colSecondary rotation: -90 + (360 / 60) * root.clockMinute - Behavior on rotation { - animation: Appearance.animation.elementResize.numberAnimation.createObject(this) + animation: RotationAnimation { + direction: RotationAnimation.Clockwise + duration: 300 + easing.type: Easing.BezierSpline + easing.bezierCurve: Appearance.animationCurves.emphasized + } } Rectangle { diff --git a/dots/.config/quickshell/ii/modules/background/cookieClock/SecondHand.qml b/dots/.config/quickshell/ii/modules/background/cookieClock/SecondHand.qml index 2e16138e7..93ca1cf48 100644 --- a/dots/.config/quickshell/ii/modules/background/cookieClock/SecondHand.qml +++ b/dots/.config/quickshell/ii/modules/background/cookieClock/SecondHand.qml @@ -19,7 +19,8 @@ Item { Behavior on rotation { enabled: Config.options.background.clock.cookie.constantlyRotate // Animating every second is expensive... - animation: NumberAnimation { + animation: RotationAnimation { + direction: RotationAnimation.Clockwise duration: 1000 // 1 second easing.type: Easing.InOutQuad } diff --git a/dots/.config/quickshell/ii/services/Audio.qml b/dots/.config/quickshell/ii/services/Audio.qml index 9bb096208..5fca1a51a 100644 --- a/dots/.config/quickshell/ii/services/Audio.qml +++ b/dots/.config/quickshell/ii/services/Audio.qml @@ -1,9 +1,9 @@ +pragma Singleton +pragma ComponentBehavior: Bound import qs.modules.common import QtQuick import Quickshell import Quickshell.Services.Pipewire -pragma Singleton -pragma ComponentBehavior: Bound /** * A nice wrapper for default Pipewire audio sink and source.