Turn off speech with clipboard utilities and window title reader by creating the file ~/.agmsilent
This commit is contained in:
@ -8,6 +8,10 @@ done
|
||||
unset cliptext
|
||||
socketFile="$(find /tmp -maxdepth 1 -name "orca-*.sock")"
|
||||
while pgrep -u "$USER" ^$1 &> /dev/null ; do
|
||||
sleep 0.05
|
||||
if [[ -f ~/.agmsilent ]]; then
|
||||
continue
|
||||
fi
|
||||
if [[ "$(uname)" == "Darwin" ]]; then
|
||||
tmp="$(pbpaste 2> /dev/null)"
|
||||
else
|
||||
@ -38,7 +42,6 @@ while pgrep -u "$USER" ^$1 &> /dev/null ; do
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
sleep 0.05
|
||||
done
|
||||
|
||||
exit 0
|
||||
|
Reference in New Issue
Block a user