From 5f3200afd34b1b0ac0a809f3270e1117659957e5 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Mon, 13 Feb 2023 10:45:57 +0100 Subject: Split functionality of menu-contacts into separate script for CLI --- bin/menu-contacts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'bin/menu-contacts') 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
- -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 '@' -- cgit v1.2.3