julienXX / terminal-notifier

Send User Notifications on macOS from the command-line.
Other
6.36k stars 331 forks source link

how can I customize alert sounds #299

Open hellomyzn opened 1 year ago

hellomyzn commented 1 year ago

I wanna add sounds(aiff files) into '/System/Library/Sounds' to select my sounds when it notifies me. but it is read-only. so I wanna change the directory which this system reads from: /System/Library/Sounds/ to : ~/Library/Audio/Sounds/Alerts/

Please let me know if someone has any clue.

RococoCoding commented 9 months ago

I was also looking into this. I haven't found a way to do it through terminal-notifier, but I was able to have my script run 'afplay honk.aiff' after the notification, which works pretty well!