scripts/dunst_message.sh
2019-12-15 17:31:59 +02:00

11 lines
181 B
Bash
Executable File

#!/bin/sh
appname=$1
sound="message"
if [ "$appname" = "Telegram-desktop" ]; then
sound="window-attention"
fi
mpv --no-terminal /usr/share/sounds/freedesktop/stereo/$sound.oga&