diff options
author | Anonymous <anon@anon.com> | 2022-01-01 14:36:35 +0100 |
---|---|---|
committer | Anonymous <anon@anon.com> | 2022-01-01 14:36:35 +0100 |
commit | 77146797394dec36e97c3964ad030fd4b9ce0c21 (patch) | |
tree | 5da7833b7480abcbafccac786d9a17f5c23bcf27 | |
parent | 34573e5be4fcb0e62ed4ccb16516850787bdbc43 (diff) |
Updated Home.md (markdown)
-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 |