diff options
Diffstat (limited to 'bin/id')
-rwxr-xr-x | bin/id | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |