diff options
Diffstat (limited to 'misc')
| -rw-r--r-- | misc/.bashrc | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/misc/.bashrc b/misc/.bashrc index 8677bb6..e000c79 100644 --- a/misc/.bashrc +++ b/misc/.bashrc @@ -284,21 +284,17 @@ gs-merge() { gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile="$@" } -_chime() { - "$@" +chime() { local rc=$? - local d=/usr/share/sounds/freedesktop/stereo if [ $rc -eq 0 ]; then # success jingle - play -q -n synth 0.12 pluck C5 : synth 0.12 pluck E5 : synth 0.12 pluck G5 : synth 0.45 pluck C6 + play -V1 -q -n synth 0.12 pluck C5 : synth 0.12 pluck E5 : synth 0.12 pluck G5 : synth 0.45 pluck C6 else # failure jingle - play -q -n synth 0.12 pluck C4 : synth 0.12 pluck G3 : synth 0.12 pluck Eb3 : synth 0.45 pluck C3 + play -V1 -q -n synth 0.12 pluck C4 : synth 0.12 pluck G3 : synth 0.12 pluck Eb3 : synth 0.45 pluck C3 fi return $rc } -alias chime='_chime ' - # dptrp1 alias quaderno="dptrp1 --addr $QUADERNO_IP" |
