~nature/dotfiles

f0fd629e57105901976c2a72c63b916716cf38fc — LordNature 2 years ago 4416603 master
bin/pass-dmenu: don't remember why I did this.
1 files changed, 1 insertions(+), 1 deletions(-)

M bin/pass-dmenu
M bin/pass-dmenu => bin/pass-dmenu +1 -1
@@ 3,7 3,7 @@ prefix=${PASSWORD_STORE_DIR-~/.password-store}
dir=$(find $prefix -name "*.gpg" | sed -re 's/\.gpg$//' | \
	sed -re 's:^.*/.password-store/::' | dmenu -l 5 -p 'pass >')
[ -n "$dir" ] || exit
wl-copy $(pass "$dir" | head -n 1)
pass "$dir" | head -n 1 | wl-copy
notify-send -u critical -t 30000 "pass" "$dir currently in clippy."
sleep 30
wl-copy "[purged]"