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%/*}"