Switched to using sing instead of beep, and added a different tune for a non-zero exit code
This commit is contained in:
parent
c43932cac3
commit
5a1379dea4
|
@ -1,12 +1,27 @@
|
||||||
triumph() {
|
triumph() {
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
echo -n "This "
|
echo -n "This "
|
||||||
beep -f 784 -l 200
|
sing G5 200
|
||||||
echo -n "was "
|
echo -n "was "
|
||||||
beep -f 740 -l 200
|
sing Fs5 200
|
||||||
echo -n "a "
|
echo -n "a "
|
||||||
beep -f 659 -l 200
|
sing E5 200
|
||||||
echo -n "tri"
|
echo -n "tri"
|
||||||
beep -f 659 -l 200
|
sing E5 200
|
||||||
echo "umph."
|
echo "umph."
|
||||||
beep -f 740 -l 200
|
sing Fs5 200
|
||||||
|
else
|
||||||
|
echo "You've got sucker's luck"
|
||||||
|
sing \
|
||||||
|
G5 800 -n \
|
||||||
|
E5 175 -n \
|
||||||
|
B5 400 -n \
|
||||||
|
E5 175 -n \
|
||||||
|
A5 400 -n \
|
||||||
|
G5 250 -n \
|
||||||
|
E5 275 -n \
|
||||||
|
D5 500 -n \
|
||||||
|
E5 300
|
||||||
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue