added font2 and topbar xresources options

This commit is contained in:
mrsu 2024-06-16 20:42:41 +01:00
parent aaa18d5eb6
commit b07a6b2368
1 changed files with 6 additions and 3 deletions

View File

@ -5,10 +5,11 @@ static int topbar = 1; /* -b option; if 0, dmenu appears a
static int fuzzy = 1; /* -F option; if 0, dmenu doesn't use fuzzy matching */
/* -fn option overrides fonts[0]; default X11 font or font set */
static char font[] = "monospace:size=10";
static char font[] = "monospace:size=30";
static char font2[] = "NotoColorEmoji:pixelsize=44:antialias=true:autohint=true";
static const char *fonts[] = {
font,
"monospace:size=10",
font2
};
static char *prompt = NULL; /* -p option; prompt to the left of input field */
@ -37,6 +38,8 @@ static const char worddelimiters[] = " ";
*/
ResourcePref resources[] = {
{ "font", STRING, &font },
{ "font2", STRING, &font2 },
{ "topbar", INTEGER, &topbar },
{ "normfgcolor", STRING, &normfgcolor },
{ "normbgcolor", STRING, &normbgcolor },
{ "selfgcolor", STRING, &selfgcolor },