1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat: independence from stockholm

This commit is contained in:
2023-03-26 19:24:38 +02:00
parent f805550ff8
commit 13e674389d
18 changed files with 651 additions and 171 deletions

View File

@@ -9,6 +9,9 @@ writers.writeDashBin "timer" ''
echo "Usage: $0 TIME MESSAGE" 1>&2
exit 1
}
time=$(echo "$1" | ${bc}/bin/bc)
echo "sleeping $time seconds, then saying: $2"
${coreutils}/bin/sleep "$time" && ${espeak}/bin/espeak -v german-mbrola-6 "$2"
${coreutils}/bin/sleep "$time" && {
echo "$2" | ${espeak}/bin/espeak -v german-mbrola-6
}
''