summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Gjengset <jon@thesquareplanet.com>2019-10-24 15:44:53 -0400
committerJon Gjengset <jon@thesquareplanet.com>2019-10-24 15:44:53 -0400
commit3d9a56d16417cb8d2f2e41fd1e75cfad81ab5a09 (patch)
tree494a426df0135e9fc5fdec47205fa36692fc51f9
parentSupport both types of quotes (diff)
downloadmktrayicon-3d9a56d16417cb8d2f2e41fd1e75cfad81ab5a09.tar.gz
mktrayicon-3d9a56d16417cb8d2f2e41fd1e75cfad81ab5a09.tar.bz2
mktrayicon-3d9a56d16417cb8d2f2e41fd1e75cfad81ab5a09.zip
Mention quoted strings in README
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index c84a99c..f5e97d6 100644
--- a/README.md
+++ b/README.md
@@ -33,6 +33,12 @@ Note that any script communicating with `mktrayicon` via the pipe **must**, for
the time being, send `q` when they are done. Just removing the FIFO file will
**not** cause the tray icon to be removed.
+The command argument can be quoted with either `'` or `"` if you wish
+it to include newlines. Other string interpolation may be added later.
+Quoted strings are terminated by a matching quote at the end of a line
+(ignoring whitespace). To escape a quote character at the end of a line
+to continue a quoted string, prefix it with a `\`.
+
## Why?
Because I wanted to be able to create tray icons from bash without all the
bgstack15