GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DebNation/notify-usb: Play sound when a USB device attached or detached (keyboard, mouse, pendrive etc)

BranchesTags
Open more actions menu

Latest commit

 

History

19 Commits
19 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
src
src
 
 
.gitignore
.gitignore
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Motivation(why this exists):

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.

Requirements :

  • dunst
  • mpv (optional if you want sound cue)

Installation :

cargo install notify-usb

Run it on startup(eg: hyprland) :

exec-once = ~/.cargo/bin/notify-usb

Customization :

  • use --no-sound flag 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

About

Play sound when a USB device attached or detached (keyboard, mouse, pendrive etc)

crates.io/crates/notify-usb

Resources

Readme
GPL-3.0 license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.