7 lines
158 B
Bash
Executable file
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
|