diff --git a/go.mod b/go.mod index ebe54f2..ef9bb1a 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module git.ici.de.com/ezekiel/qubes-gopass -go 1.15 +go 1.17 diff --git a/qubes-gopass.go b/qubes-gopass.go index f2ee1ce..30e8f94 100644 --- a/qubes-gopass.go +++ b/qubes-gopass.go @@ -74,7 +74,7 @@ func main() { if err := Execute(&b2, exec.Command("qubes-pass-client", "show", "-o", selection), exec.Command("sed", "2q;d"), - exec.Command("timeout", "--preserve-status", "12", "xclip", "-quiet", "-loops", "1"), + exec.Command("timeout", "--preserve-status", "12", "xclip", "-quiet", "-in", "-loops", "1", "-wait", "66", "-selection", "clipboard"), ); err != nil { log.Fatalln(err) }