Monitors Windows toast notifications from Claude, ChatGPT, and Codex. When one arrives:
- Saves current volume & mute state
- Unmutes, sets volume to 75%
- Plays a custom sound (
panther3.mp3) - Restores previous volume/mute state
5-second cooldown prevents burst spam.
- Windows 10 1803+
- Python 3.10+
# Install deps
pip install -r requirements.txt
# Test it
python notification_alert.py
# First run: grant notification access when prompted
# (Settings > Privacy & Security > Notifications)
# Build .exe
build.bat
# Register as startup task (run as admin)
install.batEdit the top of notification_alert.py:
| Variable | Default | Description |
|---|---|---|
SOUND_FILE |
C:\Users\rfkra\Music\panther3.mp3 |
Sound to play |
TARGET_VOLUME |
0.75 |
Volume level (0.0–1.0) |
COOLDOWN_SECONDS |
5 |
Min seconds between alerts |
APP_PATTERNS |
claude, chatgpt, openai, codex, anthropic | App name substrings to match |
schtasks /delete /tn "NotificationAlert" /f