1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-11 07:52:50 -05:00

update elogind detection

This commit is contained in:
bbedward
2025-09-02 11:25:38 -04:00
parent cb1b0550a2
commit 3eddef40fb

View File

@@ -33,7 +33,7 @@ Singleton {
Process {
id: detectElogindProcess
running: false
command: ["sh", "-c", "ps -eo comm= | grep -Fx elogind-daemon"]
command: ["sh", "-c", "ps -eo comm= | grep -E '^(elogind|elogind-daemon)$'"]
onExited: function (exitCode) {
console.log("SessionService: Elogind detection exited with code", exitCode)