Master Volume
Master volume for all sound playback. Range:
0.0 (silent) to 1.0 (full volume).Quiet enough for the office at 0.3–0.5.Enable/Disable Audio
Master switch for all audio playback.When
false, sounds are muted but desktop and mobile notifications continue working (they have independent controls).The
enabled setting only affects sounds. Desktop notifications and mobile push notifications have separate toggles (desktop_notifications and mobile_notify.enabled).Headphones-Only Mode
Only play sounds when headphones or external audio devices are detected.When enabled, sounds are suppressed if built-in speakers are the active output. Useful for open offices or shared spaces.Supported platforms:
- macOS (via
system_profiler) - Linux (via PipeWire
wpctlor PulseAudiopactl) - WSL2 (via PowerShell device enumeration)
Meeting Detection
Automatically suppress audio when the microphone is in use (indicating an active call or meeting).When enabled, PeonPing detects if the microphone is being used and temporarily mutes sounds until the mic is no longer active. Notifications still appear.Supported platforms:
- macOS (via CoreAudio mic usage detection)
- Linux (via PipeWire/PulseAudio source monitoring)
Suppress Sound When Tab Focused
Skip sound playback when the terminal tab that generated the hook event is currently active/focused.Sounds still play for background tabs as an alert. Desktop and mobile notifications are unaffected.Useful when you only want audio cues from tabs you’re not watching.macOS only (uses AppleScript to check frontmost app and iTerm2 tab focus).
Linux Audio Player
Override the default audio backend detection on Linux.By default, PeonPing auto-detects the first available player in this priority order:
pw-play(PipeWire)paplay(PulseAudio)ffplay(FFmpeg)mpvplay(SoX)aplay(ALSA)
"mpv" or "ffplay").macOS Sound Effects Device
On macOS, use the system’s “Sound Effects” output device instead of the default audio output.This respects macOS System Settings → Sound → Sound Effects output device selection, allowing you to route PeonPing sounds to a different device than your music/videos.When
false, sounds play through the default audio output (same as music).macOS only.Independent Controls
PeonPing has three independent switches that can be mixed and matched:| Config Key | Controls | Affects Sounds | Affects Desktop | Affects Mobile |
|---|---|---|---|---|
enabled | Master audio switch | ✅ Yes | ❌ No | ❌ No |
desktop_notifications | Desktop popup banners | ❌ No | ✅ Yes | ❌ No |
mobile_notify.enabled | Phone push notifications | ❌ No | ❌ No | ✅ Yes |