rofi-pass
rofi-pass copied to clipboard
Copy fields to clipboard when autofilling
Hello!
It would be really amazing if we could copy fields to clipboard in the autofill mode.
For example I want to let rofi-pass autofill username and password then copy the otp token into the clipboard.
Would something like that be doable?
- Yes we could: add a
:clipdirective in theautotypefunction (https://github.com/carnager/rofi-pass/blob/29307e3048acca8f725bc1c0ce799ef2c78dddf9/rofi-pass#L79-L87). Anything after:clipgets sent to the clipboard. - You could/should probably work around your issue (XY problem maybe?) by using a delay in your autotype field:
~/.password-store/passwithotp.gpg
myPassW0rd!
user: foobar
optauth://<...>
autotype: user :tab pass :enter :delay :delay :delay :otp