mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-13 00:42:49 -05:00
update elogind detection
This commit is contained in:
@@ -33,7 +33,7 @@ Singleton {
|
|||||||
Process {
|
Process {
|
||||||
id: detectElogindProcess
|
id: detectElogindProcess
|
||||||
running: false
|
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) {
|
onExited: function (exitCode) {
|
||||||
console.log("SessionService: Elogind detection exited with code", exitCode)
|
console.log("SessionService: Elogind detection exited with code", exitCode)
|
||||||
|
|||||||
Reference in New Issue
Block a user