| Crates.io | notify-usb |
| lib.rs | notify-usb |
| version | 0.2.4 |
| created_at | 2025-10-16 06:52:28.667662+00 |
| updated_at | 2025-10-25 05:32:13.323338+00 |
| description | Notify when a USB device is attached or detached |
| homepage | |
| repository | https://github.com/DebNation/notify-usb |
| max_upload_size | |
| id | 1885539 |
| size | 133,799 |
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
--no-sound flag if you don't want to soundYou 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