From 77146797394dec36e97c3964ad030fd4b9ce0c21 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Sat, 1 Jan 2022 14:36:35 +0100 Subject: Updated Home.md (markdown) --- Home.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Home.md b/Home.md index d8cfd97..eabf4b8 100644 --- a/Home.md +++ b/Home.md @@ -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 -- cgit v1.2.3