diff --git a/compile_commands.json b/compile_commands.json new file mode 100644 index 0000000..a66985d --- /dev/null +++ b/compile_commands.json @@ -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" + } +] diff --git a/config.h b/config.h index 202a509..15a1dd3 100644 --- a/config.h +++ b/config.h @@ -6,7 +6,7 @@ static const unsigned int fgalpha = 0xffU; static const unsigned int bgalpha = 0xffU; /* -fn option overrides fonts[0]; default X11 font or font set */ 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 *colors[SchemeLast][2] = {