summaryrefslogtreecommitdiff
path: root/dmenu.c.rej
diff options
context:
space:
mode:
authorjustsaumit <justsaumit@draconyan.xyz>2022-03-02 09:12:35 +0530
committerjustsaumit <justsaumit@draconyan.xyz>2022-03-02 09:12:35 +0530
commitbf2a0b28ef4716052e9811d917190d88a7aea6d2 (patch)
treeb50cdcddca27e880b17e11df8332ef54e56d23c7 /dmenu.c.rej
parent96a2605674e2621957af40b7b8eb450ccf2841e6 (diff)
Highpriority patch
Diffstat (limited to 'dmenu.c.rej')
-rw-r--r--dmenu.c.rej27
1 files changed, 0 insertions, 27 deletions
diff --git a/dmenu.c.rej b/dmenu.c.rej
deleted file mode 100644
index e747a27..0000000
--- a/dmenu.c.rej
+++ /dev/null
@@ -1,27 +0,0 @@
---- dmenu.c
-+++ dmenu.c
-@@ -728,7 +773,8 @@ 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]\n"
-+ " [-hb color] [-hf color] [-hp items]\n", stderr);
- exit(1);
- }
-
-@@ -769,8 +815,14 @@ main(int argc, char *argv[])
- colors[SchemeSel][ColBg] = argv[++i];
- else if (!strcmp(argv[i], "-sf")) /* selected foreground color */
- colors[SchemeSel][ColFg] = argv[++i];
-+ else if (!strcmp(argv[i], "-hb")) /* high priority background color */
-+ colors[SchemeHp][ColBg] = argv[++i];
-+ else if (!strcmp(argv[i], "-hf")) /* low priority background color */
-+ colors[SchemeHp][ColFg] = argv[++i];
- else if (!strcmp(argv[i], "-w")) /* embedding window id */
- embed = argv[++i];
-+ else if (!strcmp(argv[i], "-hp"))
-+ hpitems = tokenize(argv[++i], ",", &hplength);
- else
- usage();
-