diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-12 22:01:51 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-12 22:01:51 +0200 |
| commit | 666464567055a2e4ba9f6bb310e901cdc27977f7 (patch) | |
| tree | 45e626dc591803925880230a3e06d568e6a5fa48 /accounts/gkleen@sif/shell/quickshell/NiriIdle.qml | |
| parent | 1ff0e9ecbef79e1b3592cd4a68ce3e90c8536bdb (diff) | |
| download | nixos-666464567055a2e4ba9f6bb310e901cdc27977f7.tar nixos-666464567055a2e4ba9f6bb310e901cdc27977f7.tar.gz nixos-666464567055a2e4ba9f6bb310e901cdc27977f7.tar.bz2 nixos-666464567055a2e4ba9f6bb310e901cdc27977f7.tar.xz nixos-666464567055a2e4ba9f6bb310e901cdc27977f7.zip | |
...
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 d65711e2..beff205c 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 | } |
