From 58f4749742d243adfbeda2b9c50221222403c6c3 Mon Sep 17 00:00:00 2001 From: mrdotx Date: Wed, 27 Apr 2022 11:28:30 +0200 Subject: [PATCH] border width reduced and line height increased --- config.def.h | 4 ++-- pinentry-dmenu.1 | 8 ++++---- pinentry-dmenu.1.md | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/config.def.h b/config.def.h index 493b155..2737ffc 100644 --- a/config.def.h +++ b/config.def.h @@ -4,8 +4,8 @@ static unsigned int mon = -1; static unsigned int centerwidth = 1024; static unsigned int embedded = 0; -static unsigned int lineheight = 22; -static unsigned int borderwidth = 2; +static unsigned int lineheight = 25; +static unsigned int borderwidth = 1; static unsigned int minpwlen = 32; static unsigned int alphas[SchemeLast][2] = { /* values between 0 (transparent) and 255 (opaque) */ diff --git a/pinentry-dmenu.1 b/pinentry-dmenu.1 index 1817587..67a982c 100644 --- a/pinentry-dmenu.1 +++ b/pinentry-dmenu.1 @@ -44,10 +44,10 @@ Defines the width for the `center' menu. \f[B]embedded\f[R] = \f[I]false\f[R] Embed into window. .TP -\f[B]line_height\f[R] = \f[I]22\f[R] +\f[B]line_height\f[R] = \f[I]25\f[R] Defines menu line of at least `line_height' pixels tall. .TP -\f[B]border_width\f[R] = \f[I]2\f[R] +\f[B]border_width\f[R] = \f[I]1\f[R] Defines the border width for the menu. .TP \f[B]min_password_length\f[R] = \f[I]32\f[R] @@ -237,11 +237,11 @@ embedded = false; .PD 0 .P .PD -line_height = 22; +line_height = 25; .PD 0 .P .PD -border_width = 2; +border_width = 1; .PD 0 .P .PD diff --git a/pinentry-dmenu.1.md b/pinentry-dmenu.1.md index 332d80d..fe21451 100644 --- a/pinentry-dmenu.1.md +++ b/pinentry-dmenu.1.md @@ -25,10 +25,10 @@ The configuration is placed in *~/.gnupg/pinentry-dmenu.conf*. You can change th **embedded** = *false* : Embed into window. -**line_height** = *22* +**line_height** = *25* : Defines menu line of at least 'line_height' pixels tall. -**border_width** = *2* +**border_width** = *1* : Defines the border width for the menu. **min_password_length** = *32* @@ -206,8 +206,8 @@ The configuration is placed in *~/.gnupg/pinentry-dmenu.conf*. You can change th | monitor = -1; | center_width = 1024; | embedded = false; -| line_height = 22; -| border_width = 2; +| line_height = 25; +| border_width = 1; | min_password_length = 32; | prompt_fg_alpha = 255; | prompt_bg_alpha = 255;