added font2 and topbar xresources options
This commit is contained in:
parent
aaa18d5eb6
commit
b07a6b2368
|
@ -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 */
|
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 */
|
/* -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[] = {
|
static const char *fonts[] = {
|
||||||
font,
|
font,
|
||||||
"monospace:size=10",
|
font2
|
||||||
};
|
};
|
||||||
|
|
||||||
static char *prompt = NULL; /* -p option; prompt to the left of input field */
|
static char *prompt = NULL; /* -p option; prompt to the left of input field */
|
||||||
|
@ -37,6 +38,8 @@ static const char worddelimiters[] = " ";
|
||||||
*/
|
*/
|
||||||
ResourcePref resources[] = {
|
ResourcePref resources[] = {
|
||||||
{ "font", STRING, &font },
|
{ "font", STRING, &font },
|
||||||
|
{ "font2", STRING, &font2 },
|
||||||
|
{ "topbar", INTEGER, &topbar },
|
||||||
{ "normfgcolor", STRING, &normfgcolor },
|
{ "normfgcolor", STRING, &normfgcolor },
|
||||||
{ "normbgcolor", STRING, &normbgcolor },
|
{ "normbgcolor", STRING, &normbgcolor },
|
||||||
{ "selfgcolor", STRING, &selfgcolor },
|
{ "selfgcolor", STRING, &selfgcolor },
|
||||||
|
|
Loading…
Reference in New Issue