diff options
Diffstat (limited to '.scripts/beep')
-rwxr-xr-x | .scripts/beep | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.scripts/beep b/.scripts/beep new file mode 100755 index 0000000..c334bd9 --- /dev/null +++ b/.scripts/beep @@ -0,0 +1,4 @@ +#!/bin/sh + +(amixer get Speaker | grep "off" &>/dev/null) || exit 0 # only beep on headphones +paplay $HOME/.scripts/beep.ogg & |