trehn/termdown

Play custom bell/command at countdown while screen is flashing

bostrr opened this issue · 3 comments

Hi would it be possible for you to add an option to specify a command or script to be run at countdown , so that a custom beep can be played for example?

An option to play an audio file or even a link with youtube-dl would be awesome.

Here's my attempt to this
#45

Example usage:
python3 termdown.py --exec-shell "espeak -v en-us" 10

the current second is put as the last positional argument, so the above would result to:

espeak -v en-us 10
espeak -v en-us 9
espeak -v en-us 8
.
.
.

trehn commented

--exec-cmd now released with 1.15.0