From 0b30c493fdecae7afe7ce2c1d756038cfd29b2e0 Mon Sep 17 00:00:00 2001 From: jaydee Date: Sat, 25 Oct 2025 21:42:31 +0200 Subject: [PATCH] lala --- mqtt_srv.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mqtt_srv.py b/mqtt_srv.py index 745d4bd..4f89003 100755 --- a/mqtt_srv.py +++ b/mqtt_srv.py @@ -683,6 +683,7 @@ def on_message(client, userdata, msg): writeLog(myCmd) output = subprocess.Popen(myCmd, shell=True) writeLog(output) + if myObj["cmd"] == "display": if curos == "Windows": myCmd =f"powershell -w h -command \" Import-Module DisplayConfig ; Import-Clixml $home\\monitors\\{myObj['target']}.xml | Use-DisplayConfig -UpdateAdapterIds \""