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:
@@ -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
|
||||
}
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user