Introduction
Introduction Statistics Contact Development Disclaimer Help
Add daily fortune cookie to #bitreich-books - annna - Annna the nice friendly b…
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 42dc8132c6bc647844506988e495325068e313d3
parent acd5a645e70c6a5e1187b86aa89827eb6f6ecae8
Author: Annna Robert-Houdin <[email protected]>
Date: Sun, 21 Jul 2024 21:17:11 +0200
Add daily fortune cookie to #bitreich-books
Diffstat:
A fortune-cookie-of-day | 13 +++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/fortune-cookie-of-day b/fortune-cookie-of-day
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+channel="#bitreich-books"
+
+export PATH="$PATH:/home/annna/bin"
+
+fortunecookie="$(fortune-cookie)"
+if [ -n "${fortunecookie}" ];
+then
+ annna-say -c "${channel}" "Today's fortune: ${fortunecookie}"
+fi
+
+
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.