Removed debugging from dunst message

This commit is contained in:
lanxu 2022-04-04 00:09:19 +03:00
parent ea19f3a47c
commit 0bb20e93b0

View File

@ -3,10 +3,10 @@
appname=$1 appname=$1
sound="message" sound="message"
if [ "$appname" = "Telegram Desktop" ] || [ "$appname" = "Element"]; then if [ "$appname" = "Element" ]; then
sound="window-attention"
elif [ "$appname" = "Telegram Desktop" ]; then
sound="window-attention" sound="window-attention"
fi fi
echo "$1" >> /tmp/test
echo "$sound" >> /tmp/test
mpv --no-terminal /usr/share/sounds/freedesktop/stereo/$sound.oga& mpv --no-terminal /usr/share/sounds/freedesktop/stereo/$sound.oga&