blob: 3be501ab1a72745ab30dde43a74db0148c18683a (
plain)
1
2
3
4
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
|