From da1d96f5e8df96a66c0897f103d3824efa0e26c5 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 22 Jun 2025 23:58:39 +1000 Subject: lock: add weather --- modules/lock/LockSurface.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'modules/lock/LockSurface.qml') diff --git a/modules/lock/LockSurface.qml b/modules/lock/LockSurface.qml index 1b98c2c..4751c70 100644 --- a/modules/lock/LockSurface.qml +++ b/modules/lock/LockSurface.qml @@ -62,6 +62,7 @@ WlSessionLockSurface { id: backgrounds locked: root.locked + weatherWidth: weather.implicitWidth visible: false } @@ -89,6 +90,15 @@ WlSessionLockSurface { lock: root } + WeatherInfo { + id: weather + + anchors.top: parent.bottom + anchors.right: parent.left + anchors.topMargin: -backgrounds.weatherTop + anchors.rightMargin: -backgrounds.weatherRight + } + component Anim: NumberAnimation { duration: Appearance.anim.durations.large easing.type: Easing.BezierSpline -- cgit v1.2.3-freya