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/password | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'bin/password') diff --git a/bin/password b/bin/password index e064e29..065672b 100755 --- a/bin/password +++ b/bin/password @@ -1,5 +1,2 @@ #! /bin/bash -PWD_DIR="$HOME/dotfiles/.passwords" -PASSWORDS=$(locate "$PWD_DIR/**/*.gpg") -TARGET=$(echo "${PASSWORDS//"$PWD_DIR/"/}" | dmenu -i -p "Decode password:") -gpg2 --use-agent --quiet --batch -d $PWD_DIR/$TARGET | xclip -i +passmenu -- cgit v1.2.3