aboutsummaryrefslogtreecommitdiff
path: root/misc/.bashrc
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2026-11-23 18:20:29 +1100
committerYuchen Pei <id@ypei.org>2026-11-23 18:20:29 +1100
commit25bdce904933ce4699acccf7181247d445d300ea (patch)
tree9f0558a442bf451fd5308edfaa09487e9df4e5bb /misc/.bashrc
parent7e3fb4e798ed73f097d607fec9c65609ad399df9 (diff)
[emacs][bashrc] various improvementsHEADmaster
Diffstat (limited to 'misc/.bashrc')
-rw-r--r--misc/.bashrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/.bashrc b/misc/.bashrc
index 2cab0f6..48bc504 100644
--- a/misc/.bashrc
+++ b/misc/.bashrc
@@ -287,9 +287,11 @@ _chime() {
local rc=$?
local d=/usr/share/sounds/freedesktop/stereo
if [ $rc -eq 0 ]; then
- paplay "/usr/share/filezilla/resources/finished.wav"
+ # 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
else
- paplay "/usr/share/sounds/Oxygen-Sys-App-Error-Serious-Very.ogg"
+ # 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
fi
return $rc
}