Commit 2b2c813521c3
Changed files (2)
dots
.config
ntfy
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)
}