diff --git a/shell/lock/LockSurface.qml b/shell/lock/LockSurface.qml index e47b71c..a851b2a 100644 --- a/shell/lock/LockSurface.qml +++ b/shell/lock/LockSurface.qml @@ -3,6 +3,7 @@ import QtQuick.Effects import Quickshell import Quickshell.Wayland import "../modules" as M +import "../modules/content" as C WlSessionLockSurface { id: root @@ -41,6 +42,22 @@ WlSessionLockSurface { opacity: background.opacity } + // Hex wave overlay + C.HexWaveBackground { + id: hexWave + anchors.fill: parent + running: root.lock.secure + opacity: background.opacity * 0.4 + + NumberAnimation on opacity { + id: _hexFadeIn + running: false + to: 0.4 + duration: 600 + easing.type: Easing.OutCubic + } + } + // Center content Item { id: content @@ -219,6 +236,13 @@ WlSessionLockSurface { duration: 300 easing.type: Easing.InCubic } + NumberAnimation { + target: hexWave + property: "opacity" + to: 0 + duration: 300 + easing.type: Easing.InCubic + } } PropertyAction {