Add examples to README
This commit is contained in:
parent
c3077abf4e
commit
953057bab5
1 changed files with 18 additions and 1 deletions
17
README
17
README
|
@ -30,6 +30,7 @@ To use pinentry-dmenu add in `~/.gnupg/gpg-agent.conf`:
|
||||||
The config is located in `~/.gnupg/pinentry-dmenu.conf`.
|
The config is located in `~/.gnupg/pinentry-dmenu.conf`.
|
||||||
|
|
||||||
^ Parameter ^ Default ^ Description ^
|
^ Parameter ^ Default ^ Description ^
|
||||||
|
| ------------------- | ----------------- | ----------- |
|
||||||
| asterisk | * | Defines the symbol which is showed for each typed character |
|
| asterisk | * | Defines the symbol which is showed for each typed character |
|
||||||
| buttom | false | pinentry-dmenu appears at the bottom of the screen |
|
| buttom | false | pinentry-dmenu appears at the bottom of the screen |
|
||||||
| min_password_length | 32 | The minimal space of the password field. This value has affect to the description field after the password field |
|
| min_password_length | 32 | The minimal space of the password field. This value has affect to the description field after the password field |
|
||||||
|
@ -46,3 +47,19 @@ The config is located in `~/.gnupg/pinentry-dmenu.conf`.
|
||||||
| desc_fg | #222222 | Defines the description foreground color |
|
| desc_fg | #222222 | Defines the description foreground color |
|
||||||
| embedded | false | Embed into window |
|
| embedded | false | Embed into window |
|
||||||
|
|
||||||
|
|
||||||
|
Example
|
||||||
|
-------
|
||||||
|
```
|
||||||
|
asterisk= "# ";
|
||||||
|
prompt = "$";
|
||||||
|
font = "Noto Sans UI:size=13";
|
||||||
|
prompt_fg = "#eeeeee";
|
||||||
|
prompt_bg = "#d9904a";
|
||||||
|
normal_fg = "#ffffff";
|
||||||
|
normal_bg = "#000000";
|
||||||
|
select_fg = "#eeeeee";
|
||||||
|
select_bg = "#d9904a";
|
||||||
|
desc_fg = "#eeeeee";
|
||||||
|
desc_bg = "#d9904a";
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue