summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnonymous <anon@anon.com>2022-01-01 14:36:35 +0100
committerAnonymous <anon@anon.com>2022-01-01 14:36:35 +0100
commit77146797394dec36e97c3964ad030fd4b9ce0c21 (patch)
tree5da7833b7480abcbafccac786d9a17f5c23bcf27
parent34573e5be4fcb0e62ed4ccb16516850787bdbc43 (diff)
Updated Home.md (markdown)
-rw-r--r--Home.md11
1 files changed, 11 insertions, 0 deletions
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