helm/bin/ding

7 lines
150 B
Plaintext
Raw Normal View History

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