From b07a6b2368198b9102ee1814ea01c93c9dfa478f Mon Sep 17 00:00:00 2001 From: mrsu Date: Sun, 16 Jun 2024 20:42:41 +0100 Subject: [PATCH] added font2 and topbar xresources options --- config.def.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/config.def.h b/config.def.h index cfbf03c..669ff78 100644 --- a/config.def.h +++ b/config.def.h @@ -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", + font, + 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 },