1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-25 05:52:50 -05:00

load dankshell pam config if exists

This commit is contained in:
bbedward
2025-08-07 10:10:09 -04:00
parent 6cacdb1083
commit bbfb38e391

View File

@@ -6,6 +6,7 @@ import QtQuick.Layouts
import QtQuick.Effects
import Quickshell
import Quickshell.Services.Pam
import Quickshell.Io
import qs.Common
import qs.Services
import qs.Widgets
@@ -594,8 +595,15 @@ Item {
}
}
FileView {
id: pamConfigWatcher
path: "/etc/pam.d/dankshell"
printErrors: false
}
PamContext {
id: pam
config: pamConfigWatcher.loaded ? "dankshell" : "login"
onResponseRequiredChanged: {
if (demoMode) return