We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
alternately, if you don't want to make it annoying by default, have it look at COUNTDOWN_ON_ZERO_COMMAND in the environment, so I can do:
COUNTDOWN_ON_ZERO_COMMAND
export COUNTDOWN_ON_ZERO_COMMAND='echo -e "\a"'
in my .profile.
.profile
The text was updated successfully, but these errors were encountered:
Try function () countdown $@ | beep
Sorry, something went wrong.
I do something similar to this.
I wrote a custom bash function that takes the input of the kitchen time and plays an OS-specific audio file when finished.
alias endSound="cmd_to_play_sound sound_file_to_play" function cod () { countdown "$1" && endSound }
I add this to .profile and use the function as follows:
$ cod $@
Playing audio in the different OSs is possible, but often requires you to install dependency libraries anyway.
It's probably better (and more customizable!) for you to create your own function and call that from your shell.
Solution for macOS
countdown 1s && say beep
No branches or pull requests
alternately, if you don't want to make it annoying by default, have it look at
COUNTDOWN_ON_ZERO_COMMAND
in the environment, so I can do:in my
.profile
.The text was updated successfully, but these errors were encountered: