helm/bin/ding
2017-08-06 17:34:33 +02:00

7 lines
158 B
Bash
Executable file

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