diff options
author | Jon Gjengset <jon@thesquareplanet.com> | 2019-10-24 15:44:53 -0400 |
---|---|---|
committer | Jon Gjengset <jon@thesquareplanet.com> | 2019-10-24 15:44:53 -0400 |
commit | 3d9a56d16417cb8d2f2e41fd1e75cfad81ab5a09 (patch) | |
tree | 494a426df0135e9fc5fdec47205fa36692fc51f9 /README.md | |
parent | Support both types of quotes (diff) | |
download | mktrayicon-3d9a56d16417cb8d2f2e41fd1e75cfad81ab5a09.tar.gz mktrayicon-3d9a56d16417cb8d2f2e41fd1e75cfad81ab5a09.tar.bz2 mktrayicon-3d9a56d16417cb8d2f2e41fd1e75cfad81ab5a09.zip |
Mention quoted strings in README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |