mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-06 21:48:30 -04:00
mango: add separate dispatch socket
port 1.5
(cherry picked from commit 296b3a3d7e)
This commit is contained in:
@@ -53,6 +53,7 @@ Singleton {
|
||||
running: true
|
||||
repeat: false
|
||||
onTriggered: {
|
||||
detectUwsmProcess.running = true;
|
||||
detectElogindProcess.running = true;
|
||||
detectLoginctlProcess.running = true;
|
||||
detectSystemctlProcess.running = true;
|
||||
@@ -73,7 +74,7 @@ Singleton {
|
||||
Process {
|
||||
id: detectUwsmProcess
|
||||
running: false
|
||||
command: ["sh", "-c", "command -v uwsm"]
|
||||
command: ["sh", "-c", "command -v uwsm > /dev/null 2>&1 && systemctl --user is-active --quiet 'wayland-wm@*.service' 2> /dev/null"]
|
||||
|
||||
onExited: function (exitCode) {
|
||||
hasUwsm = (exitCode === 0);
|
||||
|
||||
Reference in New Issue
Block a user