summaryrefslogtreecommitdiffstats
path: root/Home.md
diff options
context:
space:
mode:
Diffstat (limited to 'Home.md')
-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