From 52749121672080f93ead1cf4408fef7b2b8adde4 Mon Sep 17 00:00:00 2001 From: Tomáš Janoušek Date: Thu, 23 Jul 2020 17:18:05 +0200 Subject: readme: Document escaping in UnsafeStdinReader --- readme.md | 7 +++---- 1 file 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 `` tag as a text - on xmobar. + actions via stdin. Be careful to escape (using ``) 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: -- cgit v1.2.3