aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2022-03-11 16:06:45 +0530
committerGitHub <noreply@github.com>2022-03-11 16:06:45 +0530
commit1a5b21f2cc1f15d50f05fda76ce528574b3d4053 (patch)
tree887e542fd858478c8a9743af282b0a8adf8d9a73 /README.md
parentc1e2b20baeaee4664507519b61f62243a0e708ec (diff)
downloadanypinentry-1a5b21f2cc1f15d50f05fda76ce528574b3d4053.tar.gz
anypinentry-1a5b21f2cc1f15d50f05fda76ce528574b3d4053.zip
Update README.md
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"`)