diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-25 20:52:15 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-25 20:52:15 +1000 |
| commit | d7d4d86da2952e44642c65502aaaefaa69c6d948 (patch) | |
| tree | 28ae984386060dcf81394932fe365c63de4793c5 /modules/lock/LockSurface.qml | |
| parent | internal: move notif icon guessing to utils (diff) | |
| download | caelestia-shell-d7d4d86da2952e44642c65502aaaefaa69c6d948.tar.gz caelestia-shell-d7d4d86da2952e44642c65502aaaefaa69c6d948.tar.bz2 caelestia-shell-d7d4d86da2952e44642c65502aaaefaa69c6d948.zip | |
lock: add notifs and status
Diffstat (limited to 'modules/lock/LockSurface.qml')
| -rw-r--r-- | modules/lock/LockSurface.qml | 15 |
1 files changed, 15 insertions, 0 deletions
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 |