1
0
mirror of https://github.com/balkian/dotfiles.git synced 2025-08-23 16:02:19 +00:00

Long time no see

This commit is contained in:
J. Fernando Sánchez
2014-06-26 18:07:56 +02:00
parent 444fc3706a
commit c46c149046
12 changed files with 209 additions and 60 deletions

11
bin/passmenu Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
shopt -s nullglob globstar
password_files=( ~/.password-store/**/*.gpg )
password_files=( "${password_files[@]##*/.password-store/}" )
password_files=( "${password_files[@]%.gpg}" )
password=$(printf '%s\n' "${password_files[@]}" | dmenu "$@")
pass -c "$password"