Remove old doom launcher handling code for speech.
This commit is contained in:
parent
28dac62907
commit
d2f6650987
@ -430,21 +430,6 @@ game_launcher() {
|
||||
exec tt++ ${game##*/}
|
||||
fi
|
||||
;;
|
||||
*doom*)
|
||||
exec stdbuf -oL ${game} | stdbuf -oL grep -E \
|
||||
-e '^[0-9]+\. ' \
|
||||
-e '^"cl_run"' \
|
||||
-e '^Game saved. ' \
|
||||
-e '^A secret is revealed!$' \
|
||||
-e '^MAP[0-9]*' \
|
||||
-e '^Player was ' \
|
||||
-e '^Please select a game wad \(or 0 to exit\):' \
|
||||
-e '^You have no keys in your pocket!$' | stdbuf -oL sed \
|
||||
-e 's/"cl_run" = "true"/run/' \
|
||||
-e 's/"cl_run" = "false"/walk/' \
|
||||
-e 's/MAP0\([1-9]\)/Map \1/' \
|
||||
-e 's:.*/:Game saved. (:' | spd-say -e
|
||||
;;
|
||||
*"main.py")
|
||||
pushd "${game%/*}"
|
||||
git pull -q | dialog --progressbox "Checking for updates, please wait..." -1 -1
|
||||
|
Loading…
Reference in New Issue
Block a user