fix: bin/pass* use clipboard instead of type
This commit is contained in:
parent
ec5a258e15
commit
346a498e7d
15 changed files with 38 additions and 35 deletions
|
@ -1,3 +1,8 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
xdotool type --clearmodifiers --delay 0 "$(pass "$(cat /tmp/passselect)" | head -n1 -)"
|
||||
txt="$(pass "$(cat /tmp/passselect)" | head -n1 -)"
|
||||
bak="$(xclip -o -sel c)"
|
||||
|
||||
xclip -sel c <<< "$txt"
|
||||
xdotool key --clearmodifiers 'ctrl+v'
|
||||
xclip -sel c <<< "$txt"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue