7 lines
151 B
Bash
Executable file
7 lines
151 B
Bash
Executable file
#!/usr/bin/env zsh
|
|
DEFAULT="$DOTFILES_ASSETS/sounds/${1:-ding}.ogg"
|
|
case $OSTYPE in
|
|
darwin*) afplay $DEFAULT ;;
|
|
linux*) paplay $DEFAULT ;;
|
|
esac &
|