1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-04 04:42:05 -04:00

fix(pam): Update config selection logic for PAM context

This commit is contained in:
purian23
2026-03-25 17:04:57 -04:00
parent 72b598057c
commit 247a674c79

View File

@@ -106,7 +106,7 @@ Scope {
PamContext {
id: passwd
config: dankshellConfigWatcher.loaded ? "dankshell" : root.bundledPasswdConfig
config: dankshellConfigWatcher.loaded ? "dankshell" : (loginConfigWatcher.loaded ? "login" : root.bundledPasswdConfig)
configDirectory: (dankshellConfigWatcher.loaded || loginConfigWatcher.loaded) ? "/etc/pam.d" : Quickshell.shellDir + "/assets/pam"
onMessageChanged: {