Bhaiyo Behno (VS Code Extension)
⚠️ Important Legal & Novelty Disclaimer
Features
Adding Audio ClipsAudio DirectoryAudio clips can be placed into either:
To quickly open the active audio directory in your system file manager, open the Command Palette ( Supported Formats
Filename Auto-MappingAudio files are automatically mapped by their filename prefix:
For example:
If multiple clips exist for an event, the extension picks randomly and guarantees never to repeat the same clip twice in a row for that event. Complete Event ID Reference
Optional
|
| Setting | Type | Default | Description |
|---|---|---|---|
bhaiyoBehno.enabled |
boolean |
true |
Master switch to enable or disable audio playback. |
bhaiyoBehno.volume |
number |
70 |
Playback volume (0 to 100). |
bhaiyoBehno.audioFolder |
string |
"" |
Custom directory path where audio clips are stored. Defaults to media/audio/. |
bhaiyoBehno.overlapPolicy |
string |
"skip" |
Behavior when an event occurs while audio is playing: "skip", "interrupt", or "queue". (Failures always interrupt by default). |
bhaiyoBehno.cooldownMs |
number |
1500 |
Minimum milliseconds between any two audio playbacks. |
bhaiyoBehno.perEventCooldownMs |
number |
4000 |
Minimum milliseconds between playbacks for the same specific event. |
bhaiyoBehno.events |
object |
(All on except git_other & welcome) | Map of booleans to enable/disable specific Event IDs individually. |
bhaiyoBehno.playOnUnknownCommands |
boolean |
false |
Trigger unknown fallback events on unrecognized terminal commands. |
bhaiyoBehno.playOnUnknownExit |
boolean |
false |
Trigger fallback events when execution ends with undefined exit code. |
bhaiyoBehno.showCaptionToast |
boolean |
false |
Display manifest caption in the status bar for 3 seconds during playback. |
bhaiyoBehno.playWelcomeOnStartup |
boolean |
false |
Play welcome audio clip on VS Code startup. |
bhaiyoBehno.onlyWhenWindowFocused |
boolean |
false |
Only play audio when the VS Code window is currently focused. |
bhaiyoBehno.quietHours |
object \| null |
null |
Silence audio between specified times, e.g. {"start": "23:00", "end": "07:00"}. |
Commands
Access via the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) with prefix Bhaiyo Behno::
- Bhaiyo Behno: Toggle Sound (
bhaiyoBehno.toggle): Quickly toggle sound alerts on or off. - Bhaiyo Behno: Mute for 30 Minutes (
bhaiyoBehno.mute): Temporarily silence alerts with auto-unmute after 30 minutes. - Bhaiyo Behno: Test Voice Event... (
bhaiyoBehno.testEvent): QuickPick selector to test clips for any Event ID. - Bhaiyo Behno: Open Audio Folder (
bhaiyoBehno.openAudioFolder): Reveal audio directory in OS file manager. - Bhaiyo Behno: Open Control Panel (
bhaiyoBehno.openControlPanel): Open webview settings and mapping dashboard. - Bhaiyo Behno: Rescan Audio Clips (
bhaiyoBehno.rescanClips): Rescan audio directory and print report to Output Channel. - Bhaiyo Behno: Stop Playing Audio (
bhaiyoBehno.stop): Immediately stop currently playing clip.
Status Bar
A status bar indicator is displayed at the bottom right:
$(unmute) Bhaiyowhen active.$(mute) Bhaiyowhen muted or disabled.$(loading~spin) Bhaiyowhile an audio clip is playing.- Clicking the status bar item toggles audio on/off. Hovering displays volume and loaded clip counts.
Troubleshooting
1. Terminal Shell Integration
The extension relies on VS Code's terminal shell integration to track command lines and exit codes accurately. Ensure shell integration is enabled in your VS Code settings:
"terminal.integrated.shellIntegration.enabled": true
Supported shells include zsh, bash, fish, and PowerShell 7+. If shell integration is inactive for a terminal, a gentle notice will appear with an "Open Setting" shortcut.
2. Linux Audio Players
On Linux, audio plays natively through installed command-line utilities. Ensure at least one of the following is installed:
- PulseAudio:
sudo apt install pulseaudio-utils(paplay) - FFmpeg:
sudo apt install ffmpeg(ffplay) - mpg123:
sudo apt install mpg123(mpg123) - ALSA:
sudo apt install alsa-utils(aplay, supports.wavonly)
3. Remote Windows (SSH / WSL / Dev Containers)
The extension specifies "extensionKind": ["ui"] in its manifest. This ensures that audio plays locally through your host machine's speakers rather than attempting to play on a headless remote server.
Note: In remote windows, VS Code shell execution events are routed through the UI extension host. If your remote environment disables shell integration, terminal events might not fire until shell integration is enabled in that remote profile.
License
Copyright (c) 2026 Aarav Pathak. All Rights Reserved.
Proprietary Software — See the LICENSE file for full terms and conditions. Unauthorized copying, reproduction, distribution, reverse engineering, or commercial use is strictly prohibited.