mirror of
https://gitgud.io/wackyideas/aerothemeplasma.git
synced 2026-06-19 03:45:50 +00:00
SDDM: update for the new AeroShell SDDM KCM Update installation script to install the new AeroShell SDDM KCM Look and feel + Shell: switch to AeroShellUtils for the SDDM background
42 lines
914 B
QML
42 lines
914 B
QML
/*
|
|
* SPDX-FileCopyrightText: 2011 Martin Gräßlin <mgraesslin@kde.org>
|
|
* SPDX-FileCopyrightText: 2023 Nate Graham <nate@kde.org>
|
|
* SPDX-FileCopyrightText: 2026 catpswin56 <catpswin5@proton.me>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
import QtQuick
|
|
|
|
import org.kde.plasma.private.sessions
|
|
import org.kde.plasma.private.keyboardindicator as KeyboardIndicator
|
|
|
|
Item {
|
|
id: lockScreen
|
|
|
|
property bool locked: false
|
|
|
|
signal unlockRequested()
|
|
|
|
KeyboardIndicator.KeyState {
|
|
id: capsLockState
|
|
key: Qt.Key_CapsLock
|
|
}
|
|
|
|
SessionManagement { id: sessionManagment }
|
|
|
|
Rectangle {
|
|
anchors.fill: parent
|
|
color: "#1D5F7A"
|
|
}
|
|
|
|
AuthUI {
|
|
id: authUI
|
|
|
|
anchors.fill: parent
|
|
|
|
capsLockOn: capsLockState.locked
|
|
switchUserVisible: sessionManagment.canSwitchUser
|
|
onSwitchUserClicked: sessionManagment.switchUser()
|
|
}
|
|
}
|