9 lines
180 B
Bash
Executable File
9 lines
180 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
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"
|