#!/bin/sh
WAV="$XDG_DATA_HOME/bell.wav"
if [ -f $WAV ] && [ $(pgrep pw-play | wc -l) -le 10 ]; then
    pw-play --volume 0.5 "$WAV" &
else
    notify-send "Bell"
fi
