11 lines
181 B
Bash
11 lines
181 B
Bash
|
#!/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&
|