From 10edec7695fe4de37038114372f9f353d04e5168 Mon Sep 17 00:00:00 2001 From: mrdotx Date: Fri, 30 Jul 2021 14:42:22 +0200 Subject: [PATCH] default values changed --- README | 6 +++--- config.def.h | 6 +++--- pinentry-dmenu.1 | 12 ++++++------ 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README b/README index 5c33c63..f04707c 100644 --- a/README +++ b/README @@ -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"; diff --git a/config.def.h b/config.def.h index 98856cf..5052625 100644 --- a/config.def.h +++ b/config.def.h @@ -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" }, }; diff --git a/pinentry-dmenu.1 b/pinentry-dmenu.1 index 778d4e6..233c393 100644 --- a/pinentry-dmenu.1 +++ b/pinentry-dmenu.1 @@ -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