helm/bin/ding
2017-12-08 12:41:30 -05:00

7 lines
151 B
Bash
Executable file

#!/usr/bin/env zsh
DEFAULT="$DOTFILES_ASSETS/sounds/${1:-ding}.ogg"
case $OSTYPE in
darwin*) afplay $DEFAULT ;;
linux*) paplay $DEFAULT ;;
esac &