diff options
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/NiriIdle.qml')
-rw-r--r-- | accounts/gkleen@sif/shell/quickshell/NiriIdle.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/NiriIdle.qml b/accounts/gkleen@sif/shell/quickshell/NiriIdle.qml index faa77c3f..d65711e2 100644 --- a/accounts/gkleen@sif/shell/quickshell/NiriIdle.qml +++ b/accounts/gkleen@sif/shell/quickshell/NiriIdle.qml | |||
@@ -17,14 +17,14 @@ Scope { | |||
17 | 17 | ||
18 | onIsIdleChanged: { | 18 | onIsIdleChanged: { |
19 | if (idleMonitor540.isIdle) | 19 | if (idleMonitor540.isIdle) |
20 | NiriService.sendCommand({ "Action": "PowerOffMonitors" }); | 20 | NiriService.sendCommand({ "Action": { "PowerOffMonitors": {} } }); |
21 | } | 21 | } |
22 | } | 22 | } |
23 | Connections { | 23 | Connections { |
24 | target: Custom.Systemd | 24 | target: Custom.Systemd |
25 | function onSleep(before: bool) { | 25 | function onSleep(before: bool) { |
26 | if (!before) | 26 | if (!before) |
27 | NiriService.sendCommand({ "Action": "PowerOnMonitors" }); | 27 | NiriService.sendCommand({ "Action": { "PowerOnMonitors": {} } }); |
28 | } | 28 | } |
29 | } | 29 | } |
30 | } | 30 | } |