Expand xclip flags. Change clipboard selection.

master v0.9.1
Ezekiel Grave 2021-09-09 11:07:12 -07:00
parent b7e8c24696
commit 08b108707a
2 changed files with 2 additions and 2 deletions

2
go.mod
View File

@ -1,3 +1,3 @@
module git.ici.de.com/ezekiel/qubes-gopass
go 1.15
go 1.17

View File

@ -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)
}