From ec6cc2021dc9bd5f9a33194ba1057705243ba06d Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sun, 8 Nov 2015 20:30:17 +0000 Subject: Use passmenu instead of custom script --- bin/id | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 bin/id (limited to 'bin/id') diff --git a/bin/id b/bin/id new file mode 100755 index 0000000..3be501a --- /dev/null +++ b/bin/id @@ -0,0 +1,5 @@ +#! /bin/bash +PWD_DIR="$HOME/dotfiles/.passwords" +PASSWORDS=$(locate "$PWD_DIR/**/*.gpg") +TARGET=$(echo "${PASSWORDS//"$PWD_DIR/"/}" | dmenu -i -p "Get identifier for:") +basename $TARGET .gpg | xclip -i -- cgit v1.2.3