Git Product home page Git Product logo

Comments (3)

variadico avatar variadico commented on May 15, 2024

Here's the break down of the behavior I observed.

noti fail.sh
  script.sh failed
  exit status 1

noti -t "test" fail.sh
  test
  exit status 1

noti -t "test" -m "test" fail.sh
  test
  test

Anytime you specify -t or -m, that takes precedence over everything. If you don't specify those flags, then noti tries to set some sort of sane value. I think that's the right behavior.

However, NOTI_SOUND_FAIL should play in these cases. In fact, NOTI_SOUND_FAIL did play for each of the above cases for me. What does env | grep "NOTI" look like? Is NOTI_SOUND_FAIL set to something?

from noti.

KingKrimmson avatar KingKrimmson commented on May 15, 2024

Oops >.< Looks like my NOTI_SOUND_FAIL had a typo and was therefore reverting to default (which happens to be my NOTI_SOUND choice).

I guess two follow up requests then (didn't open up separate issues yet):

  1. I pretty much always would like -t to override the "fail.sh failed" title, but wouldn't mind if error message took precedence over -m or if there was an option to designate this.
  2. Would it be possible/easy to allow for the use of Custom sound effects if they are proprely configured in the OS? Even if this means I need to modify my local noti instance. Like:
    screen shot 2016-03-04 at 10 07 30 am

from noti.

variadico avatar variadico commented on May 15, 2024

Would it be possible/easy to allow for the use of Custom sound effects…

Not easy because Apple doesn't allow you to modify /System/Library/Sounds anymore.
https://support.apple.com/en-us/HT204899

from noti.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.