summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCharalampos Kardaris <ckardaris@outlook.com>2019-12-12 20:25:02 +0200
committerCharalampos Kardaris <ckardaris@outlook.com>2019-12-12 20:25:02 +0200
commit1130daed1ef09f1926f954cb2ecea00afa309957 (patch)
tree39cd1699d2cf728173a96280176b4a04df35866b /README.md
parentAdd curly boys in single-statement if/for blocks (diff)
downloadmktrayicon-1130daed1ef09f1926f954cb2ecea00afa309957.tar.gz
mktrayicon-1130daed1ef09f1926f954cb2ecea00afa309957.tar.bz2
mktrayicon-1130daed1ef09f1926f954cb2ecea00afa309957.zip
Updated README
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 9 insertions, 4 deletions
diff --git a/README.md b/README.md
index d4fe5bb..089ac5b 100644
--- a/README.md
+++ b/README.md
@@ -43,10 +43,15 @@ Quoted strings are terminated by a matching quote at the end of a line
to continue a quoted string, prefix it with a `\`.
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 2 characters in a label or command, you have to escape
-them with `\`.
-
-Example command: `echo "m Browser,firefox|Terminal,xterm" > /tmp/test` (where `mkfifo /tmp/test` has been executed before)
+between entries (label+command).
+If you want to use these 2 characters in a label or command, you have to escape
+them with `\`.
+If you want to have an entry with just a label and no command to be executed, you can ommit the
+`,<cmd>` part.
+If you want an empty label, you can just add a second `|` delimiter after the previous one.
+If you want a command to be executed upon selection of an empty label, you can add `,<cmd>` after the previous `|`
+
+Example command: `echo "m Browser,firefox|Terminal,xterm|Label-only||,chromium" > /tmp/test` (where `mkfifo /tmp/test` has been executed before)
## Why?
bgstack15