helm/bin/ding
2017-12-07 00:23:26 -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 &