helm/bin/ding

7 lines
158 B
Plaintext
Raw Normal View History

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