mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
31 lines
726 B
QML
31 lines
726 B
QML
pragma Singleton
|
|
pragma ComponentBehavior: Bound
|
|
import QtQuick
|
|
import Quickshell
|
|
|
|
Singleton {
|
|
id: root
|
|
|
|
property string passwordBuffer: ""
|
|
property string username: ""
|
|
property string usernameInput: ""
|
|
property bool showPasswordInput: false
|
|
property string selectedSession: ""
|
|
property string selectedSessionPath: ""
|
|
property string pamState: ""
|
|
property bool unlocking: false
|
|
|
|
property var sessionList: []
|
|
property var sessionExecs: []
|
|
property var sessionPaths: []
|
|
property int currentSessionIndex: 0
|
|
|
|
function reset() {
|
|
showPasswordInput = false;
|
|
username = "";
|
|
usernameInput = "";
|
|
passwordBuffer = "";
|
|
pamState = "";
|
|
}
|
|
}
|