default values changed

This commit is contained in:
mrdotx 2021-07-30 14:42:22 +02:00
parent 7b30390e26
commit 10edec7695
No known key found for this signature in database
GPG Key ID: 433F70E636E6EB87
3 changed files with 12 additions and 12 deletions

6
README
View File

@ -33,7 +33,7 @@ To use pinentry-dmenu add in `~/.gnupg/gpg-agent.conf`:
The config is located in `~/.gnupg/pinentry-dmenu.conf`.
monitor = -1;
center = false;
center = true;
center_width = 1024;
bottom = false;
embedded = false;
@ -47,7 +47,7 @@ normal_bg_alpha = 230;
select_fg_alpha = 255;
select_bg_alpha = 255;
desc_fg_alpha = 255;
desc_bg_alpha = 255;
desc_bg_alpha = 230;
font = "DejaVuSansMono Nerd Font:pixelsize=16:antialias=true:autohint=true";
prompt = "";
asterisk = "*";
@ -58,4 +58,4 @@ normal_bg = "#000000";
select_fg = "#ffffff";
select_bg = "#4185d7";
desc_fg = "#cccccc";
desc_bg = "#4185d7";
desc_bg = "#000000";

View File

@ -2,7 +2,7 @@
/* Default settings; can be overriden by pinentry-dmenu.conf */
static unsigned int mon = -1;
static unsigned int center = 0;
static unsigned int center = 1;
static unsigned int centerwidth = 1024;
static unsigned int bottom = 0;
static unsigned int embedded = 0;
@ -15,7 +15,7 @@ static unsigned int alphas[SchemeLast][2] = {
[SchemePrompt] = { 255, 255 },
[SchemeNormal] = { 255, 230 },
[SchemeSelect] = { 255, 255 },
[SchemeDesc] = { 255, 255 },
[SchemeDesc] = { 255, 230 },
};
static const char *fonts[] = {
@ -28,5 +28,5 @@ static const char *colors[SchemeLast][2] = {
[SchemePrompt] = { "#cccccc", "#4185d7" },
[SchemeNormal] = { "#cccccc", "#000000" },
[SchemeSelect] = { "#ffffff", "#4185d7" },
[SchemeDesc] = { "#cccccc", "#4185d7" },
[SchemeDesc] = { "#cccccc", "#000000" },
};

View File

@ -28,7 +28,7 @@ You can change the path to the config file with the environment variable
.BI "monitor =" " -1"
pinentry-dmenu is displayed on the monitor number supplied. Monitor numbers are starting from 0.
.TP
.BI "center =" " false"
.BI "center =" " true"
pinentry-dmenu appears in the center of the screen.
.TP
.BI "center_width =" " 1024"
@ -75,7 +75,7 @@ Defines the selected background alpha value.
.BI "desc_fg_alpha =" " 255"
Defines the description foreground alpha value.
.TP
.BI "desc_bg_alpha =" " 255"
.BI "desc_bg_alpha =" " 230"
Defines the description background alpha value.
.TP
.BI "font =" " DejaVuSansMono Nerd Font:pixelsize=16:antialias=true:autohint=true"
@ -111,7 +111,7 @@ Defines the selected background color.
.BI "desc_fg =" " #cccccc"
Defines the description foreground color.
.TP
.BI "desc_bg =" " #4185d7"
.BI "desc_bg =" " #000000"
Defines the description background color.
.SH USAGE
@ -227,7 +227,7 @@ Paste from primary X selection
.\}
.nf
monitor = -1;
center = false;
center = true;
center_width = 1024;
bottom = false;
embedded = false;
@ -241,7 +241,7 @@ normal_bg_alpha = 230;
select_fg_alpha = 255;
select_bg_alpha = 255;
desc_fg_alpha = 255;
desc_bg_alpha = 255;
desc_bg_alpha = 230;
font = "DejaVuSansMono Nerd Font:pixelsize=16:antialias=true:autohint=true";
prompt = "";
asterisk = "*";
@ -252,7 +252,7 @@ normal_bg = "#000000";
select_fg = "#ffffff";
select_bg = "#4185d7";
desc_fg = "#cccccc";
desc_bg = "#4185d7";
desc_bg = "#000000";
.SH AUTHORS
.B pinentry-dmenu