diff options
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"`) |
