errno = 0; // popen(3p) says on failure it "may" set errno
// TODO: Create a central location for the dmenu font specification.
// It should not be hardcoded in multiple locations.
- if(!(f = popen("dmenu -fn monospace:size=14 < /dev/null", "r"))) {
+ if(!(f = popen("dmenu -fn monospace:size=12 < /dev/null", "r"))) {
fprintf(stderr, "dwm: popen 'dmenu < /dev/null' failed%s%s\n", errno ? ": " : "", errno ? strerror(errno) : "");
return;
}
{
// TODO: Create a central location for the dmenu font specification.
// It should not be hardcoded in multiple locations.
- FILE *pp = popen("echo -e \"no\nrestart\nyes\" | dmenu -fn monospace:size=14 -i -sb red -p \"Quit DWM?\"", "r");
+ FILE *pp = popen("echo -e \"no\nrestart\nyes\" | dmenu -fn monospace:size=12 -i -sb red -p \"Quit DWM?\"", "r");
if(pp != NULL) {
char buf[1024];
if (fgets(buf, sizeof(buf), pp) == NULL) {