X-Git-Url: https://git.armaanb.net/?p=bin.git;a=blobdiff_plain;f=passmenu;h=44681efce03b9fcccc174b3867885de69cca1735;hp=a3bdeecb30e21a7d6ed05e494bb18920a7f3dc25;hb=5329b8bc0f05967aedb6e9817662326ae1f4f27c;hpb=13b160cc27db97227e833566dce03b4e4d54743c diff --git a/passmenu b/passmenu index a3bdeec..44681ef 100755 --- a/passmenu +++ b/passmenu @@ -16,7 +16,7 @@ password=$(find "$prefix" -name '*.gpg' | awk -v prefix="$prefix" \ [ -n "$password" ] || exit if [ $typeit -eq 0 ]; then - pash show yacy/admin | head -n 1 | xclip -sel c + pash show "$password" | head -n 1 | xclip -sel c else pash show "$password" | { IFS= read -r pass; printf %s "$pass"; } | xdotool type --clearmodifiers --file -