A lightweight Balatro mod that mutes all audio when the game window loses focus and restores it when you switch back.
- Mutes audio on alt-tab / focus loss
- Restores previous volume on focus regain
- Zero configuration — install and play
- No Steamodded dependency — works with Lovely only
- Compatible with all other mods
- Lovely (mod loader)
Search for "BalatroMuteUnFocus" and click Install.
- Download the latest release
- Extract into your Mods directory:
- macOS:
~/Library/Application Support/Balatro/Mods/ - Windows:
%AppData%/Balatro/Mods/ - Linux:
~/.local/share/Balatro/Mods/
- macOS:
- Launch Balatro
Final structure:
Balatro/Mods/
└── BalatroMuteUnFocus/
├── lovely.toml
└── meta.json
Uses Lovely to inject a love.focus(f) callback into Balatro's main.lua that calls love.audio.setVolume(0) on focus loss and restores the saved volume on focus regain.
Delete the BalatroMuteUnFocus folder from your Mods directory.
MIT