summaryrefslogtreecommitdiff
path: root/dmenu.1
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-21 13:45:16 -0600
committerzachir <zachir@librem.one>2023-02-21 13:45:16 -0600
commit2e426cac046fdd057880eda259482db0e965aebd (patch)
tree286cc96a776b2139acdb21fbbba065c79a969f52 /dmenu.1
parentb31a684c71db67dfe9661a86364539822d4d439d (diff)
add separator patch
Diffstat (limited to 'dmenu.1')
-rw-r--r--dmenu.112
1 files changed, 12 insertions, 0 deletions
diff --git a/dmenu.1 b/dmenu.1
index 323f93c..d511148 100644
--- a/dmenu.1
+++ b/dmenu.1
@@ -22,6 +22,10 @@ dmenu \- dynamic menu
.IR color ]
.RB [ \-w
.IR windowid ]
+.RB [ \-d
+.IR separator ]
+.RB [ \-D
+.IR separator ]
.P
.BR dmenu_run " ..."
.SH DESCRIPTION
@@ -80,6 +84,14 @@ prints version information to stdout, then exits.
.TP
.BI \-w " windowid"
embed into windowid.
+.TP
+.BI \-d " separator"
+separate the input into two halves on the first occurrence of the given charcter.
+Display only the first half in dmenu and print the second half to stdout upon selection.
+Appending '|' to the separator reverses the display/printing order.
+.TP
+.BI \-D " separator"
+same as \-d but separate based on the last occurrence.
.SH USAGE
dmenu is completely controlled by the keyboard. Items are selected using the
arrow keys, page up, page down, home, and end.