exit
fi
+# some apps dont need/already have notification sounds
if ! echo "$1" | grep -Eiq '(discord|spotify|thunderbird|mailspring)'; then
if ! [ -e ~/instantos/notifications/notification.ogg ]; then
if ping -c 1 google.com; then
fi
# escape characters that cause problems with pango
-# some apps dont need/already have notification sounds
cleanstring() {
- echo "$@" | sed 's/&/&/g'
+ echo "$@" | sed 's/&/&/g' | sed 's/<.*>\(.*\)<\/.*>/\1/g'
}
# add pango markup