aboutsummaryrefslogtreecommitdiffstats
path: root/dmenu-separator-20210904-d78ff08.diff
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-04-22 05:20:45 +0000
committerterminaldweller <thabogre@gmail.com>2022-04-22 05:20:45 +0000
commit55ff6a17cd124806e30f27f5da7c5e976f6925e8 (patch)
tree7a4121545b42a8caa441adbd7f857fa918d49c45 /dmenu-separator-20210904-d78ff08.diff
parentInitial commit (diff)
downloaddmenu-55ff6a17cd124806e30f27f5da7c5e976f6925e8.tar.gz
dmenu-55ff6a17cd124806e30f27f5da7c5e976f6925e8.zip
initial commit
Diffstat (limited to '')
-rw-r--r--dmenu-separator-20210904-d78ff08.diff30
1 files changed, 30 insertions, 0 deletions
diff --git a/dmenu-separator-20210904-d78ff08.diff b/dmenu-separator-20210904-d78ff08.diff
new file mode 100644
index 0000000..5811e76
--- /dev/null
+++ b/dmenu-separator-20210904-d78ff08.diff
@@ -0,0 +1,30 @@
+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.