Adds an ipc command to turn monitors on / off

This commit is contained in:
Lin Xianyi
2026-03-01 11:40:18 +08:00
parent b067278a96
commit ddb99dce67
+10
View File
@@ -403,6 +403,16 @@ Singleton {
}
}
IpcHandler {
target: "monitors"
function on() {
CompositorService.turnOnMonitors();
}
function off() {
CompositorService.turnOffMonitors();
}
}
IpcHandler {
target: "darkMode"
function toggle() {