13 lines
245 B
Bash
Executable File
13 lines
245 B
Bash
Executable File
#!/bin/sh
|
|
|
|
appname=$1
|
|
sound="message"
|
|
|
|
if [ "$appname" = "Element" ]; then
|
|
sound="window-attention"
|
|
elif [ "$appname" = "Telegram Desktop" ]; then
|
|
sound="window-attention"
|
|
fi
|
|
|
|
mpv --no-terminal /usr/share/sounds/freedesktop/stereo/$sound.oga&
|