#!/bin/sh # Search in contact list built by khard using bemenu, outputs the selected # option as FirstName LastName
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}'