aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/status/statusctl
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-15 11:25:50 +0200
committerDanilo M. <danix@danix.xyz>2026-10-15 11:25:50 +0200
commit98fc6036ee817a92810e060c80d48aa6a936a1ab (patch)
treee05b1b724463de10649180615ad32bb6094f84e0 /desktop/modules/status/statusctl
parente22d2ccee82b829875fe343cf1be48975174b054 (diff)
downloadquickshell-98fc6036ee817a92810e060c80d48aa6a936a1ab.tar.gz
quickshell-98fc6036ee817a92810e060c80d48aa6a936a1ab.zip
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 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/status/statusctl')
-rwxr-xr-xdesktop/modules/status/statusctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/modules/status/statusctl b/desktop/modules/status/statusctl
index 87c2cac..718ee39 100755
--- a/desktop/modules/status/statusctl
+++ b/desktop/modules/status/statusctl
@@ -25,7 +25,7 @@
set -u
-MODES="dnd presentation nolock"
+MODES="dnd presentation nolock quiet"
DIR="${XDG_RUNTIME_DIR:-/tmp}"
usage() {