Overview Version History Q & A Rating & Review
Segfault Lullaby
Small deaths sigh; session endings lullaby.
Quiet audio cues inside VS Code / Cursor: when a command in the integrated terminal fails, you get a short sigh . When a coding session ends (via command or hook signal), you get a longer closing lullaby .
Install
From the Marketplace (once published)
Open Extensions (Ctrl+Shift+X / Cmd+Shift+X)
Search for Segfault Lullaby (publisher Sciad )
Install → Reload Window if prompted
From a VSIX (sideload)
Download segfault-lullaby-*.vsix from Releases or build locally (npm run package)
Command Palette → Extensions: Install from VSIX…
Developer: Reload Window
Try it
Ensure Terminal › Integrated: Shell Integration is enabled
(terminal.integrated.shellIntegration.enabled → true)
In the integrated terminal:
true # silent
false # short sigh
Command Palette → Segfault Lullaby: Play Closing Lullaby (or Play Test Sigh )
Too loud? Segfault Lullaby: Toggle Mute , or set segfaultLullaby.muted
You need a system audio path (ffplay / paplay / aplay / afplay, or Windows powershell Media.SoundPlayer — works from WSL via wslpath).
What triggers what
Event
Mode
Default
Integrated terminal exit ≠ 0
sigh
on
Test run failures
sigh
off
Debug abnormal exit / exception
sigh
off
Session end signal / notify command
closing lullaby
on
Session hooks: touch ~/.segfault-lullaby/session-end (see hooks/README.md).
Settings (high level)
Setting
Default
Meaning
segfaultLullaby.enabled
true
Master on/off
segfaultLullaby.muted
false
Mute all audio
segfaultLullaby.volume
0.6
0.0–1.0
segfaultLullaby.debounceMs
2500
Suppress repeat sighs
segfaultLullaby.ignorePatterns
[]
Noisy command patterns
segfaultLullaby.testSighsEnabled
false
Opt-in
segfaultLullaby.debugSighsEnabled
false
Opt-in
segfaultLullaby.variationsEnabled
false
Density-based sigh variants
Privacy / scope
No network calls from the extension
No modal dialogs
Local editor events + optional local signal file only
MIT licensed
Develop
npm install
npm run generate-lullaby
npm run compile
npm run test:unit
npm run package # builds .vsix
Press F5 for Extension Development Host.
Maintainer publish steps: docs/PUBLISH.md .