diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-12 10:24:22 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-12 10:24:22 +0200 |
| commit | 67be63e507a7b03bc4f88131202f23be54ffbede (patch) | |
| tree | c3da213227ad1663963c091252aef98899ef371f /accounts/gkleen@sif | |
| parent | 78932ed706901920b700b1356570bc0fe94ce00b (diff) | |
| download | nixos-67be63e507a7b03bc4f88131202f23be54ffbede.tar nixos-67be63e507a7b03bc4f88131202f23be54ffbede.tar.gz nixos-67be63e507a7b03bc4f88131202f23be54ffbede.tar.bz2 nixos-67be63e507a7b03bc4f88131202f23be54ffbede.tar.xz nixos-67be63e507a7b03bc4f88131202f23be54ffbede.zip | |
...
Diffstat (limited to 'accounts/gkleen@sif')
| -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 | } |
