aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/README.md b/README.md
index ec1eea5..b586715 100644
--- a/README.md
+++ b/README.md
@@ -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"`)