~mil/sxmo-utils

98bd4b2f0de1bf60387ee1cd1e8ed9ba7c2c004b — Stacy Harper 6 months ago b4686ca
Make sxmo_modemtext killeable with gesture

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
1 files changed, 2 insertions(+), 2 deletions(-)

M scripts/modem/sxmo_modemtext.sh
M scripts/modem/sxmo_modemtext.sh => scripts/modem/sxmo_modemtext.sh +2 -2
@@ 64,7 64,7 @@ sendtextmenu() {
		CONFIRM="$(
			printf %b "$icon_edt Edit\n$icon_snd Send\n$icon_cls Cancel" |
			dmenu -c -idx 1 -p "Confirm" -l 10
		)"
		)" || exit
		if echo "$CONFIRM" | grep -q "Send"; then
			(sxmo_modemsendsms.sh "$NUMBER" - < "$DRAFT") && \
			rm "$DRAFT" && \


@@ 94,7 94,7 @@ readtextmenu() {
			printf %b "$CONTACT" | xargs -IL echo "L logfile"
		done
	)"
	PICKED="$(printf %b "$ENTRIES" | dmenu -p Texts -c -l 10 -i)"
	PICKED="$(printf %b "$ENTRIES" | dmenu -p Texts -c -l 10 -i)" || exit

	if echo "$PICKED" | grep "Close Menu"; then
		exit 1