helm/bin/ding

7 lines
151 B
Plaintext
Raw Normal View History

#!/usr/bin/env zsh
DEFAULT="$DOTFILES_ASSETS/sounds/${1:-ding}.ogg"
2017-08-06 08:34:33 -07:00
case $OSTYPE in
darwin*) afplay $DEFAULT ;;
linux*) paplay $DEFAULT ;;
2017-12-06 21:23:26 -08:00
esac &