From ddf83e94dbb886728f5d972e22d9bb20076db389 Mon Sep 17 00:00:00 2001 From: tsxv478 Date: Wed, 21 Sep 2022 02:36:43 +0300 Subject: topbar option --- dmenu.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dmenu.c') diff --git a/dmenu.c b/dmenu.c index 512a489..b51c3a4 100644 --- a/dmenu.c +++ b/dmenu.c @@ -761,6 +761,8 @@ main(int argc, char *argv[]) exit(0); } else if (!strcmp(argv[i], "-b")) /* appears at the bottom of the screen */ topbar = 0; + } else if (!strcmp(argv[i], "-t")) /* appears at the top of the screen */ + topbar = 1; else if (!strcmp(argv[i], "-f")) /* grabs keyboard before reading stdin */ fast = 1; else if (!strcmp(argv[i], "-c")) /* centers dmenu on screen */ -- cgit v1.2.3