Rewrite of wosc/pass-autotype
Bind this script to a keyboard shortcut to automatically type the username and password and any other optional fields into the current window(terminal, browser, etc). Auto-typed content is retrieved from the pass password store.
If you have issues with autotyped characters being dropped or changed, try running setxkbmap first.
- Linux, Python 3 and the
python-libxdoandzenipymodules are installed - If you need to type more than the password, use the multiline format and store additional fields in each line.
- Maintain
.autotypefiles for every.gpgfile you want to be considered for autotype
- user maintained
.autotypefiles to define window title matches and optionally the autotype sequence - autotyping of arbitrary fields from the password entry and arbitrary autotype sequences, the default being
:user |Tab :password |Return - optional
BackSpacepress before entry of first field - autotype speed setting
- support passwords in root password-store folder
- Use your window manager or desktop environment to set up a keyboard shortcut
that launches the
pass-autotyp3.pyscript. - Open a window where you want to autotype, and have the credentials in your
passstore and anautotypefile setup - Place the cursor on the username field and press the keyboard shortcut defined above
- If there is more than one matching account for the window title, you'll be presented with a dialog to choose from.
mypassword
user: myusername
field1: another field
field2: one more field, with an optional empty line above
file with 3 different title match strings
git pull
git push
git clone
file with optional custom autotype sequnce including a custom field
:user |Tab :password |Tab :field1 |Return
github - Mozilla Firefox
file with time delay autotype sequence
:user !0.5 :password |Return
google