From 3d9a56d16417cb8d2f2e41fd1e75cfad81ab5a09 Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Thu, 24 Oct 2019 15:44:53 -0400 Subject: Mention quoted strings in README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit