From: Armaan Bhojwani Date: Wed, 12 May 2021 01:22:45 +0000 (-0400) Subject: passmenu: fix hardcoded username X-Git-Url: https://git.armaanb.net/?p=bin.git;a=commitdiff_plain;h=5329b8bc0f05967aedb6e9817662326ae1f4f27c passmenu: fix hardcoded username Added this for testing and forgot to remove it... --- 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 -