From 98fc6036ee817a92810e060c80d48aa6a936a1ab Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 15 Oct 2026 11:25:50 +0200 Subject: feat(status): quiet mode mutes the Claude and opencode sounds A new registry mode, status.quiet, with a row on the status page. Both tools will play their sounds through notify-sound, which asks statusctl and plays nothing while quiet is on, so their popups stay and only the sound goes. Presentation sets quiet and restores it afterwards, like dnd and nolock: a sound during a call or a game is what quiet is for. notify-sound ignores any argument it has no sound for, because the opencode notifier runs its command on every event, session_started and user_message included. Co-Authored-By: Claude Opus 5.5 --- desktop/modules/status/StatusPage.qml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'desktop/modules/status/StatusPage.qml') diff --git a/desktop/modules/status/StatusPage.qml b/desktop/modules/status/StatusPage.qml index 7da7a0d..e0de86b 100644 --- a/desktop/modules/status/StatusPage.qml +++ b/desktop/modules/status/StatusPage.qml @@ -37,7 +37,7 @@ Column { width: page.width mode: "presentation" label: "Presentation" - description: "Do not disturb, no screen lock, breaktimer paused." + description: "Do not disturb, quiet, no screen lock, breaktimer paused." value: Status.presentation } @@ -47,6 +47,20 @@ Column { color: Qt.alpha(Theme.text, 0.08) } + StatusRow { + width: page.width + mode: "quiet" + label: "Quiet" + description: "Mutes Claude and opencode sounds. Popups still appear." + value: Status.quiet + } + + Rectangle { + width: page.width + height: 1 + color: Qt.alpha(Theme.text, 0.08) + } + LockRow { width: page.width } -- cgit v1.2.3