You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
396 B
Plaintext
12 lines
396 B
Plaintext
--- dmenu.c
|
|
+++ dmenu.c
|
|
@@ -757,6 +781,8 @@ main(int argc, char *argv[])
|
|
topbar = 0;
|
|
else if (!strcmp(argv[i], "-f")) /* grabs keyboard before reading stdin */
|
|
fast = 1;
|
|
+ else if (!strcmp(argv[i], "-c")) /* centers dmenu on screen */
|
|
+ centered = 1;
|
|
else if (!strcmp(argv[i], "-i")) { /* case-insensitive item matching */
|
|
fstrncmp = strncasecmp;
|
|
fstrstr = cistrstr;
|