Merge pull request #4 from maximbaz/typo-bottom

Fix typo in the config 'bottom'
pull/9/head 0.2.1
Moritz Lüdecke 6 years ago committed by GitHub
commit 73fb6de7b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -32,7 +32,7 @@ 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 bottom | 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
monitor | -1 | pinentry-dmenu is displayed on the monitor number supplied. Monitor numbers are starting from 0 monitor | -1 | pinentry-dmenu is displayed on the monitor number supplied. Monitor numbers are starting from 0
prompt | "" | Defines the prompt to be displayed to the left of the input field prompt | "" | Defines the prompt to be displayed to the left of the input field

@ -31,7 +31,7 @@ You can change the path to the config file with the environment variable
.BI "asterisk =" " *" .BI "asterisk =" " *"
Defines the symbol which is showed for each typed character. Defines the symbol which is showed for each typed character.
.TP .TP
.BI "buttom =" " false" .BI "bottom =" " false"
pinentry-dmenu appears at the bottom of the screen. pinentry-dmenu appears at the bottom of the screen.
.TP .TP
.BI "min_password_length =" " 32" .BI "min_password_length =" " 32"

@ -738,7 +738,7 @@ main(int argc, char *argv[]) {
if (config_lookup_string(&cfg, "asterisk", &str)) { if (config_lookup_string(&cfg, "asterisk", &str)) {
asterisk = str; asterisk = str;
} }
if (config_lookup_bool(&cfg, "buttom", &bval)) { if (config_lookup_bool(&cfg, "bottom", &bval)) {
bottom = bval; bottom = bval;
} }
if (config_lookup_int(&cfg, "min_password_length", &val)) { if (config_lookup_int(&cfg, "min_password_length", &val)) {

Loading…
Cancel
Save