#!/usr/bin/env sh # play a specific WAVE file [ -z "$1" ] && exit 1 find "$HOME/.local/share/sfx" | fgrep "$1" | head -n 1 | while read -r f; do aplay "$f" > /dev/null 2>&1 done