-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add filename to play on success or failure #786
Comments
Thx! I will document example config for this. And down the road probably add something to config settings options so newbies don't have to manually edit config |
Yes, I agree. |
Also - does "success" and "failure" equal "task completion"? I was looking for "task completion" and "task creation", not specifically general command/code success/failure (though error/failure is good for terminal bell). This is basically to strictly replicate the dopamine fix when you check off the task in the official client 😬 |
If a task is completed or created that would be a Are you looking to play a sound file every time:
I'm sensitive to sounds and notifications, so this feature doesn't intuitively appeal to me, but I do like it getting a sound if something errors, and I need to look at it. Does the list above meet your needs? If yes, I can maybe do:
and also add
|
Yes, add/create task and complete task (doesn't matter where, if from list process or tod task next) A thought I had today - maybe for future automation and compatibility, this might be made modular/flexible so instead of "Play sound" it could be "execute command"? I'm thinking about possible smarthome integration or other possibilities down the road (such as webhook or executing another program) Possibly too complicated and if so no worries, just thinking outside the box :) |
Really good ideas. I can do the |
Rodio would probably be a good option for this: |
Yes - I use Rodio to play sound which works great in the generalized wrapper I wrote. See https://github.com/stacksjb/Shell_Command_Menu/blob/main/src/utils.rs for an example of how I have it setup. |
For people who want more than a terminal bell on success or failure we could get them to add a path to their config
play_path_on_success
andplay_path_on_failure
. They will be nullable strings.The text was updated successfully, but these errors were encountered: