changes
This commit is contained in:
parent
c1819f18c0
commit
61c4b7c29e
2
config.h
2
config.h
@ -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;
|
||||||
|
1
dmenu.c
1
dmenu.c
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user