From d495a638941895d57ceb6650a63195cb28731218 Mon Sep 17 00:00:00 2001 From: Damocles Date: Fri, 17 Apr 2026 21:45:49 +0200 Subject: [PATCH] add hex wave background overlay to lock screen --- shell/lock/LockSurface.qml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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 {