This commit is contained in:
Michael Chalupiak 2024-09-05 19:53:04 -04:00
parent c1819f18c0
commit 61c4b7c29e
2 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,7 @@
static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
/* -fn option overrides fonts[0]; default X11 font or font set */ /* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = { static const char *fonts[] = {
"monospace:size=10", "Cascadia Code:size=12",
"NotoColorEmoji:pixelsize=8:antialias=true:autohint=true" "NotoColorEmoji:pixelsize=8:antialias=true:autohint=true"
}; };
static const unsigned int bgalpha = 0xe0; static const unsigned int bgalpha = 0xe0;

View File

@ -896,7 +896,6 @@ read_Xresources(void) {
char *type; char *type;
XrmDatabase xdb = XrmGetStringDatabase(xrm); XrmDatabase xdb = XrmGetStringDatabase(xrm);
XrmValue xval; XrmValue xval;
if (XrmGetResource(xdb, "dmenu.font", "*", &type, &xval) == True) /* font or font set */ if (XrmGetResource(xdb, "dmenu.font", "*", &type, &xval) == True) /* font or font set */
fonts[0] = strdup(xval.addr); fonts[0] = strdup(xval.addr);
if (XrmGetResource(xdb, "dmenu.color0", "*", &type, &xval) == True) /* normal background color */ if (XrmGetResource(xdb, "dmenu.color0", "*", &type, &xval) == True) /* normal background color */