Browse Source

add doc and add space on labels

master
Simon Vieille 2 months ago
parent
commit
9990b69ea2
Signed by: Simon Vieille <simon@deblan.fr> GPG Key ID: 03383D15A1D31745
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      README.md
  2. 2
    2
      send-sms

+ 1
- 1
README.md View File

@@ -6,7 +6,7 @@ Send SMS using kdeconnect.
```bash
$ git clone https://gitnet.fr/deblan/sms-sender.git
$ cd sms-sender
$ export FILE=/path/to/contacts.vcf # not required if you manually fill the number
$ export FILE=/path/to/contacts.vcf # not required if you manually fill the phone number
$ export DEVICE=XXXXXXXXXXXXXXXX # @see kdeconnect-cli -l
$ ./send-sms
```

+ 2
- 2
send-sms View File

@@ -27,10 +27,10 @@ if [ -n "$FILE" ]; then

if [ -n "$SEARCH" ]; then
if [ -n "$(echo "$LABEL" | grep -i "$SEARCH")" ]; then
printf " \"%s\" \"%s\"" "$VALUE" "$LABEL"
printf " \"%s\" \"%s\"" "$VALUE" " $LABEL "
fi
else
printf " \"%s\" \"%s\"" "$VALUE" "$LABEL"
printf " \"%s\" \"%s\"" "$VALUE" " $LABEL "
fi
done)"


Loading…
Cancel
Save