6 lines
222 B
Bash
Executable file
6 lines
222 B
Bash
Executable file
#!/bin/sh
|
|
VDIR="$HOME/Documents/contacts"
|
|
|
|
NAME="$(grep -r 'FN' "$VDIR" | cut -d ':' -f 3 | menu "VCARD:")"
|
|
[ -z "$NAME" ] && exit 0
|
|
grep -r "$NAME" "$VDIR" | cut -d ':' -f 1 | xargs qrencode -s 8 -t PNG -o - -r | display
|