diff options
-rw-r--r-- | Home.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -13,6 +13,17 @@ There are some ways to support krebs: - [wallpaper-timelapse](http://prism.r/realwallpaper-video.mp4) - [wallpaper no entities](http://prism.r/realwallpaper.png) - [tts.r - text-to-speach, usable as API](http://tts.r) +```bash +# example usage for your bashrc/zshrc +say() { + _say() { curl -sSG http://tts.r/api/tts --data-urlencode text@- | mpv --no-resume-playback -; } + if [[ "$#" -eq 0 ]]; then + _say + else + echo "$@" | _say + fi +} +``` - [ACME](./ACME) ## Stockholm repositories |