From 5c474563c9f82e322b2ff23c2ed3f8250cb91ff2 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 29 Oct 2023 18:07:03 +0530 Subject: applied center patch --- config.def.h.orig | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'config.def.h.orig') diff --git a/config.def.h.orig b/config.def.h.orig index a29eaa8..bf9a338 100644 --- a/config.def.h.orig +++ b/config.def.h.orig @@ -4,21 +4,25 @@ static int topbar = 0; /* -b option; if 0, dmenu appears at bottom */ /* -fn option overrides fonts[0]; default X11 font or font set */ static const char *fonts[] = { - "Sauce Code Pro:size=12" + "Sauce Code Pro:size=11" }; -static const char *prompt = "DMENU RUN: ";//NULL; /* -p option; prompt to the left of input field */ +static const char *prompt = "RUN: ";//NULL; /* -p option; prompt to the left of input field */ static const char *colors[SchemeLast][2] = { /* fg bg */ - [SchemeNorm] = { "#FFFFFF", "#171520" }, - [SchemeSel] = { "#FFFFFF", "#D33682" }, - [SchemeSelHighlight] = { "#FFFFFF", "#5B76B7" }, - [SchemeNormHighlight] = { "#FFFFFF", "#130F23" }, - [SchemeMid] = { "#FFFFFF", "#8915e5" }, - /*[SchemeNormHighlight] = { "#FFFFFF", "#222222" },*/ - [SchemeOut] = { "#FFFFFF", "#5b76b7" }, + [SchemeNorm] = { "#cccccc", "#282c34" }, + [SchemeSel] = { "#1c1f24", "#c678dd" }, + [SchemeSelHighlight] = { "#000000", "#51afef" }, + [SchemeNormHighlight] = { "#000000", "#51afef" }, + //[SchemeMid] = { "#000000", "#51afef" }, + [SchemeMid] = { "#cccccc", "#282c34" }, + [SchemeOut] = { "#d7d7d7", "#1c1f24" }, }; + /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ -static unsigned int lines = 0; +static unsigned int lines = 3; +/* -h option; minimum height of a menu line */ +static unsigned int lineheight = 24; +static unsigned int min_lineheight = 24; /* * Characters not considered part of a word while deleting words @@ -27,4 +31,4 @@ static unsigned int lines = 0; static const char worddelimiters[] = " "; /* Size of the window border */ -static unsigned int border_width = 0; +static unsigned int border_width = 1; -- cgit v1.2.3