summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */