summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTomáš Janoušek <tomi@nomi.cz>2020-07-23 17:18:05 +0200
committerGitHub <noreply@github.com>2020-07-23 17:18:05 +0200
commit52749121672080f93ead1cf4408fef7b2b8adde4 (patch)
tree6c2ac1a39cdcd21887628a7a7b248ce63f987615
parentdc2156600d43405019412cd82c8e0e5052a26ab1 (diff)
downloadxmobar-52749121672080f93ead1cf4408fef7b2b8adde4.tar.gz
xmobar-52749121672080f93ead1cf4408fef7b2b8adde4.tar.bz2
readme: Document escaping in UnsafeStdinReader
-rw-r--r--readme.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/readme.md b/readme.md
index 5518b0c..d9ea24b 100644
--- a/readme.md
+++ b/readme.md
@@ -1597,10 +1597,9 @@ will display "N/A" if for some reason the `date` invocation fails.
- Aliases to UnsafeStdinReader
- Displays any text received by xmobar on its standard input.
- Will not do anything to the text received. This means you can pass dynamic
- actions via stdin. Be careful to remove tags from dynamic text that you
- pipe-thru to xmobar's standard input, e.g. window's title. There is no way
- to escape the tags, i.e. you can't print a literal `<action>` tag as a text
- on xmobar.
+ actions via stdin. Be careful to escape (using `<raw=…>`) or remove tags
+ from dynamic text that you pipe-thru to xmobar's standard input, e.g.
+ window's title.
- Sample usage: send to xmobar's stdin the list of your workspaces enclosed by
actions tags that switches the workspaces to be able to switch workspaces by
clicking on xmobar: