Skip to content

Instantly share code, notes, and snippets.

View jamesmoss's full-sized avatar

James Moss jamesmoss

View GitHub Profile
#!/usr/bin/env bash
set -euo pipefail
# Replace the choo-choo.mp3 sound in the Conductor app with a custom MP3 file.
# Usage: ./replace-conductor-sound.sh <path-to-mp3>
#
# Requirements: ffmpeg, python3, brotli (pip)
CONDUCTOR_BIN="/Applications/Conductor.app/Contents/MacOS/conductor"
BACKUP_PATH="/tmp/conductor-backup-$(date +%s)"