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

View file

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