aboutsummaryrefslogtreecommitdiff
path: root/.scripts/beep
blob: c334bd98405defdd50d42b0157e9b0ee48ccd8dc (plain) (blame)
1
2
3
4
#!/bin/sh

(amixer get Speaker | grep "off" &>/dev/null) || exit 0 # only beep on headphones
paplay $HOME/.scripts/beep.ogg &