From ddb99dce67d6910ce31c150ed01388823a5094ce Mon Sep 17 00:00:00 2001 From: Lin Xianyi Date: Sun, 1 Mar 2026 11:40:18 +0800 Subject: [PATCH] Adds an ipc command to turn monitors on / off --- Services/Control/IPCService.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Services/Control/IPCService.qml b/Services/Control/IPCService.qml index fc582f852..7c8ebd755 100644 --- a/Services/Control/IPCService.qml +++ b/Services/Control/IPCService.qml @@ -403,6 +403,16 @@ Singleton { } } + IpcHandler { + target: "monitors" + function on() { + CompositorService.turnOnMonitors(); + } + function off() { + CompositorService.turnOffMonitors(); + } + } + IpcHandler { target: "darkMode" function toggle() {