From 715025916495a805383717fb5d18c99588cdddc5 Mon Sep 17 00:00:00 2001 From: Jakub Date: Thu, 5 Jan 2023 00:26:43 -0500 Subject: [PATCH] set some opts & add more xresource options --- config.def.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/config.def.h b/config.def.h index 48bf2de..d056db4 100644 --- a/config.def.h +++ b/config.def.h @@ -23,13 +23,13 @@ static const unsigned int alphas[SchemeLast][2] = { }; static int topbar = 1; -static int centered = 0; +static int centered = 1; static int min_width = 500; static int restrict_return = 0; static int fuzzy = 1; static char *prompt = NULL; -static unsigned int lines = 0; -static unsigned int lineheight = 0; +static unsigned int lines = 10; +static unsigned int lineheight = 24; static unsigned int min_lineheight = 8; static unsigned int preselected = 0; @@ -40,7 +40,10 @@ ResourcePref resources[] = { { "background", STRING, &normbgcolor }, { "selforeground", STRING, &selfgcolor }, { "selbackground", STRING, &selbgcolor }, - // { "prompt", STRING, &prompt }, + { "lines", INTEGER, &lines }, + { "lineheight", INTEGER, &lineheight }, + { "centered", INTEGER, ¢ered }, + { "topbar", INTEGER, &topbar }, }; /* Characters not considered part of a word while deleting words