diff options
| author | Akshay Nair <phenax5@gmail.com> | 2022-03-11 16:06:45 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-11 16:06:45 +0530 |
| commit | 1a5b21f2cc1f15d50f05fda76ce528574b3d4053 (patch) | |
| tree | 887e542fd858478c8a9743af282b0a8adf8d9a73 /README.md | |
| parent | c1e2b20baeaee4664507519b61f62243a0e708ec (diff) | |
| download | anypinentry-1a5b21f2cc1f15d50f05fda76ce528574b3d4053.tar.gz anypinentry-1a5b21f2cc1f15d50f05fda76ce528574b3d4053.zip | |
Update README.md
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -18,8 +18,9 @@ You can now use any interface for password and confirmation prompts (`dmenu`, `r 6. Gpg should now be using your prefered program for pinentry ## Config -The following variables inside `./anypinentry` script file can be configured +The following variables inside `./anypinentry` script file can be configured. +You will need to use `AP_PROMPT`, `AP_YES`, `AP_NO`, `AP_ERROR` variables inside your actions. -* `prompt_action` - Action to show a prompt asking for password -* `confirm_action` - Action to confirm an action (Yes or No) -* `display_error_action` - Action to display error messages to user +* `prompt_action` - Action to show a prompt asking for password (Example using dmenu with password patch - `dmenu -P -p "$AP_PROMPT"`) +* `confirm_action` - Action to confirm an action (YES or NO) (Example with dmenu - `echo -e "$AP_YES\n$AP_NO" | dmenu -p "$AP_PROMPT"`) +* `display_error_action` - Action to display error messages to user (Example with notify-send - `notify-send "$AP_ERROR"`) |
