aboutsummaryrefslogtreecommitdiff
path: root/bin/menu-contacts
diff options
context:
space:
mode:
Diffstat (limited to 'bin/menu-contacts')
-rwxr-xr-xbin/menu-contacts8
1 files changed, 1 insertions, 7 deletions
diff --git a/bin/menu-contacts b/bin/menu-contacts
index f2f3454..e16b0c3 100755
--- a/bin/menu-contacts
+++ b/bin/menu-contacts
@@ -1,9 +1,3 @@
#!/bin/sh
-# Search in contact list built by khard using bemenu, outputs the selected
-# option as FirstName LastName <address>
-
-khard email --remove-first-line --parsable \
- | cut -f 1,2 \
- | bemenu -i -s -c -l 20 -W 0.5 -p '@' \
- | awk -F "\t" '{printf "%s <%s>\n", $2, $1}'
+list-contacts | bemenu -i -s -c -l 20 -W 0.5 -p '@'