lock: use default pam config and start without password

Fixes #1800
This commit is contained in:
Moeta Yuko
2025-08-29 15:15:25 +08:00
parent dcfdb2ecff
commit a1479a9b6c
3 changed files with 1 additions and 10 deletions
@@ -33,8 +33,6 @@ Scope {
}
function tryUnlock() {
if (currentText === "") return;
root.unlockInProgress = true;
pam.start();
}
@@ -42,12 +40,6 @@ Scope {
PamContext {
id: pam
// Its best to have a custom pam config for quickshell, as the system one
// might not be what your interface expects, and break in some way.
// This particular example only supports passwords.
configDirectory: "pam"
config: "password.conf"
// pam_unix will ask for a response for the password prompt
onPamMessage: {
if (this.responseRequired) {