sxmo-utils/scripts/notifications
Reed Wade 1edb932f44 fix a bug on picked notification file determination
If a notification body include a double whitespace, the PICKEDNOTIFFILE
computation fail to match cause we striped them when building the dmenu
choices.

To give an example, try to write this notification as

$ sxmo_notificationwrite.sh "random" \
"st -e tail -n9999 -f \"$HOME/.config/sxmo/xinit\"" \
"$HOME/.config/sxmo/xinit" \
"this body  is broken"

This patch fix this bug.

(Maintainer note: I changed the awk invocation to use tr, as suggested
by anjan)

Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-10-31 22:55:50 +01:00
..
sxmo_notificationmonitor.sh Move LED setting to be indpendent of notification hook 2020-08-22 17:28:14 -05:00
sxmo_notificationsmenu.sh fix a bug on picked notification file determination 2020-10-31 22:55:50 +01:00
sxmo_notificationwrite.sh Look for ATTRIB events for notifications updates; remove "Pickup" menu 2020-08-22 12:21:51 -05:00