#include #include #include #include #include #include static struct { bmFilterMode filterMode; int wrap; unsigned int lines; const char *title; int selected; int bottom; int grab; int monitor; } client = { BM_FILTER_MODE_DMENU, /* filterMode */ 0, /* wrap */ 0, /* lines */ "bemenu", /* title */ 0, /* selected */ 0, /* bottom */ 0, /* grab */ 0 /* monitor */ }; static void printVersion(const char *name) { char *base = strrchr(name, '/'); printf("%s v%s\n", (base ? base + 1 : name), bmVersion()); puts("