1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-13 17:22:08 -04:00

greeter: use folderlistmodel for session iteration, add launch timeout

This commit is contained in:
bbedward
2025-12-30 11:49:00 -05:00
parent 18f095cb23
commit 97a07c399a
3 changed files with 172 additions and 131 deletions

View File

@@ -1,7 +1,7 @@
import QtQuick
import Quickshell
pragma Singleton
pragma ComponentBehavior: Bound
import QtQuick
import Quickshell
Singleton {
id: root
@@ -11,6 +11,7 @@ Singleton {
property string usernameInput: ""
property bool showPasswordInput: false
property string selectedSession: ""
property string selectedSessionPath: ""
property string pamState: ""
property bool unlocking: false
@@ -20,10 +21,10 @@ Singleton {
property int currentSessionIndex: 0
function reset() {
showPasswordInput = false
username = ""
usernameInput = ""
passwordBuffer = ""
pamState = ""
showPasswordInput = false;
username = "";
usernameInput = "";
passwordBuffer = "";
pamState = "";
}
}