Commit 2b2c813521c3

Vincent Demeester <vincent@sbr.pm>
2026-01-14 11:40:41
feat(notifications): reduce notification noise
- Show all build notifications instead of only high/urgent priority - Disable per-tool desktop notifications from claude-hooks - Keep homelab notifications filtered to high/urgent only Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent e60b6f5
Changed files (2)
dots
.config
tools
claude-hooks
cmd
capture-tool-output
dots/.config/ntfy/client.yml.in
@@ -15,9 +15,5 @@ subscribe:
       priority: high,urgent
   - topic: git-builds
     command: ~/.config/ntfy/handle-notification.sh
-    if:
-      priority: high,urgent
   - topic: builds
     command: ~/.config/ntfy/handle-notification.sh
-    if:
-      priority: high,urgent
tools/claude-hooks/cmd/capture-tool-output/main.go
@@ -5,7 +5,6 @@ import (
 	"fmt"
 	"io"
 	"os"
-	"os/exec"
 	"path/filepath"
 	"time"
 
@@ -112,13 +111,13 @@ func main() {
 		os.Exit(0) // Silent failure
 	}
 
-	// Send desktop notification
-	notifyMsg := fmt.Sprintf("Tool executed: %s", data.ToolName)
-	cmd := exec.Command("notify-send", "-u", "low", "Claude Hook", notifyMsg)
-	if err := cmd.Run(); err != nil {
-		// Silent failure - don't break workflow
-		fmt.Fprintf(os.Stderr, "[capture-tool-output] Warning: Could not send notification: %v\n", err)
-	}
+	// Desktop notifications disabled - they were too noisy
+	// notifyMsg := fmt.Sprintf("Tool executed: %s", data.ToolName)
+	// cmd := exec.Command("notify-send", "-u", "low", "Claude Hook", notifyMsg)
+	// if err := cmd.Run(); err != nil {
+	// 	// Silent failure - don't break workflow
+	// 	fmt.Fprintf(os.Stderr, "[capture-tool-output] Warning: Could not send notification: %v\n", err)
+	// }
 
 	os.Exit(0)
 }