mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Adds an ipc command to turn monitors on / off
This commit is contained in:
@@ -403,6 +403,16 @@ Singleton {
|
||||
}
|
||||
}
|
||||
|
||||
IpcHandler {
|
||||
target: "monitors"
|
||||
function on() {
|
||||
CompositorService.turnOnMonitors();
|
||||
}
|
||||
function off() {
|
||||
CompositorService.turnOffMonitors();
|
||||
}
|
||||
}
|
||||
|
||||
IpcHandler {
|
||||
target: "darkMode"
|
||||
function toggle() {
|
||||
|
||||
Reference in New Issue
Block a user