Codaisseur / terminal-notifier-guard

Mac OS X User Notifications for Guard
Other
163 stars 25 forks source link

Play sound for notifications when they execute. #35

Open UseK opened 8 years ago

UseK commented 8 years ago

I added the new feature which play sound for notifications, in order to make easier for user to notice them.

Play different sounds which built in OSX for each status:

  1. Failed (Sound is Sosumi)
  2. Notify (Sound is Blow)
  3. Pending (Sound is Morse)
  4. Success (Sound is Hero)

These 4 mappings from status to sounds are hard coded in the constant OSX_BUILT_IN_SOUNDS. If you want to fix it (e.g. create file for sound configuration), I'll do it