Comments (3)
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.
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):
- 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.
- 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:
from noti.
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)
- Pushbullet has stopped working HOT 2
- Support Twilio SMS notification HOT 1
- how to send message to a user defined url HOT 5
- Automatically notify on all iTerm2 commands
- A detailed documentation to setup noti with the push notification providers on windows HOT 3
- Adding gotify as a push service HOT 1
- Windows Defender false positive? HOT 1
- github.com/variadico/vbs is no longer provided HOT 2
- Noti is not producing a notification on Mac os HOT 1
- Mute sound for specific notifications
- Unable to add exemption for noti when "focus" enabled. HOT 2
- Cant login
- On windows tail-format doesn't work
- Add support for ntfy HOT 1
- request feature
- RFE: Add support for telegram topics
- Add Teams as notification service
- 'NSUserNotification' is deprecated: first deprecated in macOS 11.0
- Add Discord as notification service HOT 2
- "Default" voice ("Alex") doesn't seem to exist anymore on macOS 14.2 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from noti.