diff options
| author | AlexanderCurl <alexc@alexc.hu> | 2026-04-18 17:46:06 +0100 |
|---|---|---|
| committer | AlexanderCurl <alexc@alexc.hu> | 2026-04-18 17:46:06 +0100 |
| commit | 70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69 (patch) | |
| tree | ab1123d4067c1b086dd6faa7ee4ea643236b565a /raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modules/Lock/LockSurface.qml | |
| parent | 5d94c0a7d44a2255b81815a52a7056a94a39842d (diff) | |
| download | RaveOS-PKGBUILD-70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69.tar.gz RaveOS-PKGBUILD-70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69.zip | |
Replaced file structures for themes in the correct format
Diffstat (limited to 'raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modules/Lock/LockSurface.qml')
| -rw-r--r-- | raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modules/Lock/LockSurface.qml | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modules/Lock/LockSurface.qml b/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modules/Lock/LockSurface.qml deleted file mode 100644 index 9d1beae..0000000 --- a/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modules/Lock/LockSurface.qml +++ /dev/null @@ -1,73 +0,0 @@ -pragma ComponentBehavior: Bound - -import QtQuick -import Quickshell.Wayland -import qs.Common - -FocusScope { - id: root - - required property WlSessionLock lock - required property string sharedPasswordBuffer - required property string screenName - required property bool isLocked - - signal passwordChanged(string newPassword) - signal unlockRequested - - Keys.onPressed: event => { - if (videoScreensaver.active && videoScreensaver.inputEnabled) { - videoScreensaver.dismiss(); - event.accepted = true; - } - } - - Rectangle { - anchors.fill: parent - color: "transparent" - } - - LockScreenContent { - id: lockContent - - anchors.fill: parent - demoMode: false - passwordBuffer: root.sharedPasswordBuffer - screenName: root.screenName - enabled: !videoScreensaver.active - focus: !videoScreensaver.active - opacity: videoScreensaver.active ? 0 : 1 - onUnlockRequested: root.unlockRequested() - onPasswordBufferChanged: { - if (root.sharedPasswordBuffer !== passwordBuffer) { - root.passwordChanged(passwordBuffer); - } - } - - Behavior on opacity { - NumberAnimation { - duration: 200 - } - } - } - - VideoScreensaver { - id: videoScreensaver - anchors.fill: parent - screenName: root.screenName - } - - Component.onCompleted: forceActiveFocus() - - onIsLockedChanged: { - if (isLocked) { - forceActiveFocus(); - lockContent.resetLockState(); - if (SettingsData.lockScreenVideoEnabled) { - videoScreensaver.start(); - } - return; - } - lockContent.unlocking = false; - } -} |