Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion mannaggia.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ LC_CTYPE=C
if [ $(uname) = "Darwin" ]
then
shufCmd=gshuf
PLAYER="say" # Qualcosa per non utilizzare il primo santo inutilmente.
else
shufCmd=shuf
fi
Expand Down Expand Up @@ -141,7 +142,11 @@ while [ "$nds" != 0 ]

if [ "$audioflag" = true ]
then
wget "$MANNAGGIAURL" -O - 2> /dev/null | $PLAYER >> /dev/null 2>&1
if [ $(uname) = "Darwin" ]; then
say -v Luca "$MANNAGGIA"
else
wget "$MANNAGGIAURL" -O - 2> /dev/null | $PLAYER >> /dev/null 2>&1
fi
fi

sleep "$spm"
Expand Down