From 439f716a379fa0071535aad6eeb084e013b3c81a Mon Sep 17 00:00:00 2001 From: stormdragon2976 Date: Tue, 9 May 2023 21:03:06 -0400 Subject: [PATCH] New attempt to provide information from Doom. No longer using window title reader. --- linux-game-manager.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/linux-game-manager.sh b/linux-game-manager.sh index f3b9397..6eb6bd2 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -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%/*}"