summaryrefslogtreecommitdiff
path: root/modules/lock/LockSurface.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-22 23:58:39 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-22 23:58:39 +1000
commitda1d96f5e8df96a66c0897f103d3824efa0e26c5 (patch)
treec24da4213be5347eb0c214ea5fc5b6ef7cd0aa70 /modules/lock/LockSurface.qml
parentlock: static border (diff)
downloadcaelestia-shell-da1d96f5e8df96a66c0897f103d3824efa0e26c5.tar.gz
caelestia-shell-da1d96f5e8df96a66c0897f103d3824efa0e26c5.tar.bz2
caelestia-shell-da1d96f5e8df96a66c0897f103d3824efa0e26c5.zip
lock: add weather
Diffstat (limited to 'modules/lock/LockSurface.qml')
-rw-r--r--modules/lock/LockSurface.qml10
1 files changed, 10 insertions, 0 deletions
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