Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added customization for default, userkey-0, userkey-1, and userkey-2 autotype #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

grbll
Copy link

@grbll grbll commented Aug 7, 2023

Hey,

I added the option to customize the autotype behavior in the config file.

The default behavior is as it was before. However, if autotype_default is set in the config file, the autotype behavior will be changed (as long as nothing else is specified in the pass file). For example:

autotype_default="password :enter"

Will let me enter the password immediately. The same works for autotype_10, autotype_11, autotype_12 with exit codes 10, 11, 12, respectively.

Since I have no expertise in coding whatsoever, please check out what I did, before you consider integrating it. Most of all: I had to fiddle with the regex check. Since I could not make out what it was meant to do, I am not sure, if I destroyed something.

If you want to add this feature, I will be happy to write some documentation.

So long & cheers

@ayushnix
Copy link
Owner

Hi! Apologies for the late response. I'll take a look at this PR on this weekend.

@ayushnix ayushnix added this to the v2.3.0 milestone Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants