diff options
author | Urbain Vaes <urbain@vaes.uk> | 2015-11-08 20:30:17 +0000 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2015-11-08 20:30:17 +0000 |
commit | ec6cc2021dc9bd5f9a33194ba1057705243ba06d (patch) | |
tree | 36c51cbd7c86225bd9bb75ebfef1a482165bcdd2 /bin/id | |
parent | 4a5e7f55748d66178807b38ee1bfcae3e7dcb1d0 (diff) |
Use passmenu instead of custom script
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 |