add compile_commands, change font

This commit is contained in:
Luca Bilke 2023-02-09 21:37:20 +01:00
parent 70dc9e0a4b
commit cabef8bdf8
2 changed files with 87 additions and 1 deletions

86
compile_commands.json Normal file
View File

@ -0,0 +1,86 @@
[
{
"arguments": [
"/usr/bin/cc",
"-c",
"-std=c99",
"-pedantic",
"-Wall",
"-Os",
"-I/usr/X11R6/include",
"-I/usr/include/freetype2",
"-D_DEFAULT_SOURCE",
"-D_BSD_SOURCE",
"-D_XOPEN_SOURCE=700",
"-D_POSIX_C_SOURCE=200809L",
"-DVERSION=\"5.2\"",
"-DXINERAMA",
"dmenu.c"
],
"directory": "/home/luca/.local/src/dmenu",
"file": "/home/luca/.local/src/dmenu/dmenu.c"
},
{
"arguments": [
"/usr/bin/cc",
"-c",
"-std=c99",
"-pedantic",
"-Wall",
"-Os",
"-I/usr/X11R6/include",
"-I/usr/include/freetype2",
"-D_DEFAULT_SOURCE",
"-D_BSD_SOURCE",
"-D_XOPEN_SOURCE=700",
"-D_POSIX_C_SOURCE=200809L",
"-DVERSION=\"5.2\"",
"-DXINERAMA",
"drw.c"
],
"directory": "/home/luca/.local/src/dmenu",
"file": "/home/luca/.local/src/dmenu/drw.c"
},
{
"arguments": [
"/usr/bin/cc",
"-c",
"-std=c99",
"-pedantic",
"-Wall",
"-Os",
"-I/usr/X11R6/include",
"-I/usr/include/freetype2",
"-D_DEFAULT_SOURCE",
"-D_BSD_SOURCE",
"-D_XOPEN_SOURCE=700",
"-D_POSIX_C_SOURCE=200809L",
"-DVERSION=\"5.2\"",
"-DXINERAMA",
"util.c"
],
"directory": "/home/luca/.local/src/dmenu",
"file": "/home/luca/.local/src/dmenu/util.c"
},
{
"arguments": [
"/usr/bin/cc",
"-c",
"-std=c99",
"-pedantic",
"-Wall",
"-Os",
"-I/usr/X11R6/include",
"-I/usr/include/freetype2",
"-D_DEFAULT_SOURCE",
"-D_BSD_SOURCE",
"-D_XOPEN_SOURCE=700",
"-D_POSIX_C_SOURCE=200809L",
"-DVERSION=\"5.2\"",
"-DXINERAMA",
"stest.c"
],
"directory": "/home/luca/.local/src/dmenu",
"file": "/home/luca/.local/src/dmenu/stest.c"
}
]

View File

@ -6,7 +6,7 @@ static const unsigned int fgalpha = 0xffU;
static const unsigned int bgalpha = 0xffU; static const unsigned int bgalpha = 0xffU;
/* -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" "monospace:size=10:antialias=true"
}; };
static const char *prompt = NULL; /* -p option; prompt to the left of input field */ static const char *prompt = NULL; /* -p option; prompt to the left of input field */
static const char *colors[SchemeLast][2] = { static const char *colors[SchemeLast][2] = {