senpai: Mostrar mensaje cuando llega una notificación

Creo que esto funcionaba con bash pero estamos usando la shell de sistema que puede no ser bash
This commit is contained in:
Cat /dev/Nulo 2022-01-11 12:09:40 -03:00
parent c8bbff3aee
commit e487c99210
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
escape() {
printf "%s" "$1" | sed 's#\#\\#g'
printf "%s" "$1" | sed 'sx\\x\\\\xg'
}
notify-send "[$BUFFER] $SENDER" "$(escape "$MESSAGE")"