Skip to content

[BUG] Windows: Multiple Sounds #52

@mynameistito

Description

@mynameistito

Hey I use this on Windows and I don't know if I'm tripping or not but I swear I had multiple pings when it was on something that needed my attn.

relevant configs;

// ~/.config/opencode/opencode-notifier.json

{
  "sound": true,
  "notification": true,
  "timeout": 5,
  "showProjectName": true,
  "command": {
    "enabled": false,
    "path": "/path/to/command",
    "args": ["--event", "{event}", "--message", "{message}"],
    "minDuration": 0
  },
  "events": {
    "permission": { "sound": true, "notification": true },
    "complete": { "sound": true, "notification": true },
    "subagent_complete": { "sound": false, "notification": false },
    "error": { "sound": true, "notification": true },
    "question": { "sound": true, "notification": true }
  },
  "messages": {
    "permission": "Session needs permission",
    "complete": "Session has finished",
    "subagent_complete": "Subagent task completed",
    "error": "Session encountered an error",
    "question": "Session has a question"
  },
  "sounds": {
    "permission": "C:/Users/mynameistito/.config/opencode/sounds/mac-quack.wav",
    "complete": "C:/Users/mynameistito/.config/opencode/sounds/mac-quack.wav",
    "subagent_complete": "C:/Users/mynameistito/.config/opencode/sounds/mac-quack.wav",
    "error": "C:/Users/mynameistito/.config/opencode/sounds/mac-quack.wav",
    "question": "C:/Users/mynameistito/.config/opencode/sounds/mac-quack.wav"
  }
}

Rest of configs can be found https://github.com/mynameistito/.dotfiles

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions