summaryrefslogtreecommitdiff
path: root/dmenu.c
diff options
context:
space:
mode:
authortsxv478 <vt0451@yandex.ru>2022-09-21 02:36:43 +0300
committertsxv478 <vt0451@yandex.ru>2022-09-21 02:36:43 +0300
commitddf83e94dbb886728f5d972e22d9bb20076db389 (patch)
tree0a1bbdcf0354af0f25accf13f9b923aa6774242a /dmenu.c
parent47769a59eb9efed2699d3c66ea847c3f52296a9b (diff)
topbar option
Diffstat (limited to 'dmenu.c')
-rw-r--r--dmenu.c2
1 files changed, 2 insertions, 0 deletions
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 */