From d7d4d86da2952e44642c65502aaaefaa69c6d948 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 25 Jun 2025 20:52:15 +1000 Subject: lock: add notifs and status --- modules/lock/LockSurface.qml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'modules/lock/LockSurface.qml') diff --git a/modules/lock/LockSurface.qml b/modules/lock/LockSurface.qml index 047116f..83fb89f 100644 --- a/modules/lock/LockSurface.qml +++ b/modules/lock/LockSurface.qml @@ -75,6 +75,8 @@ WlSessionLockSurface { weatherWidth: weather.implicitWidth buttonsWidth: buttons.item?.nonAnimWidth ?? 0 buttonsHeight: buttons.item?.nonAnimHeight ?? 0 + statusWidth: status.item?.nonAnimWidth ?? 0 + statusHeight: status.item?.nonAnimHeight ?? 0 isNormal: root.screen.width > Config.lock.sizes.smallScreenWidth isLarge: root.screen.width > Config.lock.sizes.largeScreenWidth visible: false @@ -168,6 +170,19 @@ WlSessionLockSurface { sourceComponent: Buttons {} } + Loader { + id: status + + active: root.screen.width > Config.lock.sizes.largeScreenWidth + + anchors.bottom: parent.top + anchors.left: parent.right + anchors.bottomMargin: -backgrounds.statusBottom + anchors.leftMargin: -backgrounds.statusLeft + + sourceComponent: Status {} + } + component Anim: NumberAnimation { duration: Appearance.anim.durations.large easing.type: Easing.BezierSpline -- cgit v1.2.3-freya