summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-02-13 09:38:40 -0500
committerB Stack <bgstack15@gmail.com>2020-02-13 09:38:40 -0500
commitcea23e87e971f2a8494e2bef0a416d1e41d95e0c (patch)
treeac765bb5f39dbb388bc45030520e42898788ded4 /README.md
parentadd middleclick, and documentation (diff)
downloadmktrayicon-cea23e87e971f2a8494e2bef0a416d1e41d95e0c.tar.gz
mktrayicon-cea23e87e971f2a8494e2bef0a416d1e41d95e0c.tar.bz2
mktrayicon-cea23e87e971f2a8494e2bef0a416d1e41d95e0c.zip
merge scrollevents and menu_separator for new master
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index fea63a6..a110d14 100644
--- a/README.md
+++ b/README.md
@@ -56,7 +56,8 @@ The m(enu) command uses `,` as a delimiter between label and command and
`|` as a delimiter between entries (label+command). If you want to use
these two characters in a label or command, you have to escape them with
`\`. You can make a blank label or a label without an action by leaving
-out the `label` or `cmd` respectively. For example:
+out the `label` or `cmd` respectively. Use `-----` or an empty label to
+insert a menu separator. For example:
```console
$ echo "m Browser,firefox|Terminal,xterm|Label-only||,chromium" > /tmp/test
@@ -68,7 +69,7 @@ Would give you a menu with five entries:
- "Browser", which launches `firefox` when clicked
- "Terminal", which launches `xterm` when clicked
- "Label-only", which does nothing if clicked
- - An unlabeled, inactive entry (useful as a separator)
+ - A separator
- An unlabeled entry which launches `chromium` when clicked
## Why?
bgstack15