diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-16 13:28:21 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-16 13:28:21 +0100 |
| commit | a3fa6524b744ea062ea0197bb3a0fec7ec9c6b54 (patch) | |
| tree | 32b0dfb8709ce46a0903d7ce916658047b3db617 /desktop/modules/status/test-statusctl.sh | |
| parent | acc837d722d6905b47f0b673b84b02345867fb6e (diff) | |
| download | quickshell-a3fa6524b744ea062ea0197bb3a0fec7ec9c6b54.tar.gz quickshell-a3fa6524b744ea062ea0197bb3a0fec7ec9c6b54.zip | |
status: nolamp mode and the agent-lamp forward
nolamp keeps agent-lamp's bulb dark; notify-sound forwards opencode's
event and session to agent-lamp before the quiet check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/status/test-statusctl.sh')
| -rwxr-xr-x | desktop/modules/status/test-statusctl.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/modules/status/test-statusctl.sh b/desktop/modules/status/test-statusctl.sh index 170101c..8042fd1 100755 --- a/desktop/modules/status/test-statusctl.sh +++ b/desktop/modules/status/test-statusctl.sh @@ -155,5 +155,11 @@ check "quiet set 1" "1" "$("$ctl" quiet get)" "$ctl" quiet toggle check "quiet toggle from 1" "0" "$("$ctl" quiet get)" +# nolamp keeps agent-lamp's bulb dark; a plain mode like quiet. +"$ctl" nolamp set 1 +check "nolamp set 1" "1" "$("$ctl" nolamp get)" +"$ctl" nolamp toggle +check "nolamp toggle from 1" "0" "$("$ctl" nolamp get)" + printf '\n%d passed, %d failed\n' "$pass" "$fail" [[ "$fail" -eq 0 ]] |
