helm/bin/ding
2017-12-06 01:39:10 -05:00

7 lines
150 B
Bash
Executable file

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