New attempt to provide information from Doom. No longer using window title reader.

This commit is contained in:
stormdragon2976 2023-05-09 21:03:06 -04:00
parent 504c95a84f
commit 439f716a37

View File

@ -404,8 +404,11 @@ game_launcher() {
fi
;;
*doom*)
${0%/*}/speech/speak_window_title.sh gzdoom &
exec ${game}
exec stdbuf -oL ${game} | stdbuf -oL grep -E \
-e '^MAP[0-9]*' \
-e '^Game saved. ' \
-e '^Player was ' \
-e '^You have no keys in your pocket!$' | spd-say -e
;;
*"main.py")
pushd "${game%/*}"