From 25bdce904933ce4699acccf7181247d445d300ea Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Mon, 23 Nov 2026 18:20:29 +1100 Subject: [emacs][bashrc] various improvements --- misc/.bashrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'misc') 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 } -- cgit v1.2.3