diff options
author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-01-24 21:38:05 +0100 |
---|---|---|
committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-01-24 21:38:05 +0100 |
commit | 0ac15ef5466570d9582ea41e369fb26749bfb758 (patch) | |
tree | 37616fb381b6fdd6f8c59001e2625ae94b1b11b0 | |
parent | 9d89de55f871cce68b5762f22d8f199f546d2241 (diff) |
-rw-r--r-- | dmenu.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -714,7 +714,7 @@ static void usage(void) { fputs("usage: dmenu [-bfiv] [-l lines] [-p prompt] [-fn font] [-m monitor]\n" - " [-nb color] [-nf color] [-sb color] [-sf color] [-w windowid]\n", stderr); + " [-nb color] [-nf color] [-sb color] [-sf color] [-w windowid] [-s margin]\n", stderr); exit(1); } @@ -757,6 +757,8 @@ main(int argc, char *argv[]) colors[SchemeSel][ColFg] = argv[++i]; else if (!strcmp(argv[i], "-w")) /* embedding window id */ embed = argv[++i]; + else if (!strcmp(argv[i], "-s")) + gapxx = atoi(argv[++i]); else usage(); |