summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2022-11-28 06:50:23 +0100
committerErich Eckner <git@eckner.net>2022-11-28 06:50:23 +0100
commitbabcfaf78ceb11a185fd0bbe1119fba7db6bee74 (patch)
treeef580e05c0dcded8cd2ca051bd2cd960484a564a
parentb86f6ec5f834f3df3ad7962993a6e9a8d1c328bb (diff)
downloadBrotbacken-babcfaf78ceb11a185fd0bbe1119fba7db6bee74.tar.xz
Brotbacken.sh: Dehnen+Falten dabei
-rwxr-xr-xBrotbacken.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/Brotbacken.sh b/Brotbacken.sh
index 480c88c..d7b6e7a 100755
--- a/Brotbacken.sh
+++ b/Brotbacken.sh
@@ -3,6 +3,7 @@
tmp_dir=$(mktemp -d)
trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT
+espeak-ng -vde -w "$tmp_dir/falten.wav" 'Bitte den Teig dehnen und falten!'
espeak-ng -vde -w "$tmp_dir/Ofen_an.wav" 'Dreh bitte den Ofen bis zum Anschlag an!'
espeak-ng -vde -w "$tmp_dir/Brot_rein.wav" 'Tue bitte das Brot rein!'
espeak-ng -vde -w "$tmp_dir/Ofen_runter.wav" 'Dreh bitte den Ofen runter!'
@@ -11,11 +12,15 @@ espeak-ng -vde -w "$tmp_dir/Brot_raus.wav" 'Nimm bitte das Brot raus!'
skip=${1:-0}
-if [ ${skip} -lt 1 ]; then
+for ((i=skip; i<3; i++)); do
+ sleep 30m
+ play "$tmp_dir/falten.wav"
+done
+if [ ${skip} -lt 4 ]; then
sleep 20m
play "$tmp_dir/Ofen_an.wav"
fi
-if [ ${skip} -lt 2 ]; then
+if [ ${skip} -lt 5 ]; then
sleep 40m
play "$tmp_dir/Brot_rein.wav"
fi