Add -o gpass flag to only output the password.

master
Ezekiel Grave 2020-11-13 11:06:51 -08:00
parent 2aae3e9091
commit 095aeedd6f
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ func main() {
var b2 bytes.Buffer
if err := Execute(&b2,
exec.Command("qubes-pass-client", "show", selection),
exec.Command("qubes-pass-client", "show", "-o", selection),
exec.Command("sed", "2q;d"),
exec.Command("timeout", "--preserve-status", "12", "xclip", "-quiet", "-loops", "1"),
); err != nil {