I have seen gnome/kde/cinnamon desktop to show notification and play a sound tone on USB device attach or detach event, but that is not present if you are using a Window Manager, so it is made for Window Manager/Compositor users who wants a notification with sound cue for USB connections.
dunstmpv(optional if you want sound cue)
cargo install notify-usb
exec-once = ~/.cargo/bin/notify-usb
- use
--no-soundflag if you don't want to sound
You can customize the sound(tone) that this programs plays, by replacing these files
~/.local/share/notify-usb/connect.mp3~/.local/share/notify-usb/disconnect.mp3