| ▲ | badhorseman 2 hours ago | |
I wrote a fun bit of code to do something like this but for bell sounds in emacs terminal sessions and other things (even using the peasant). but I agree it seems very over engineered. There is a json manifest file to explain which sounds should be used where in this repo, why not just use directories for each alert type, making it easier to modify, it seems completely unnecessary to me. having an install script seems crazy as well. The task is to play the right sound(s) that match the passed argument. the thing I did was like 23 lines and most of that was filtering and looking for ascii bell to play the sound then remove it from the stream and other options. | ||