Add -o gpass flag to only output the password.
parent
2aae3e9091
commit
095aeedd6f
|
@ -73,7 +73,7 @@ func main() {
|
||||||
|
|
||||||
var b2 bytes.Buffer
|
var b2 bytes.Buffer
|
||||||
if err := Execute(&b2,
|
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("sed", "2q;d"),
|
||||||
exec.Command("timeout", "--preserve-status", "12", "xclip", "-quiet", "-loops", "1"),
|
exec.Command("timeout", "--preserve-status", "12", "xclip", "-quiet", "-loops", "1"),
|
||||||
); err != nil {
|
); err != nil {
|
||||||
|
|
Loading…
Reference in New Issue