diff options
author | Tomáš Janoušek <tomi@nomi.cz> | 2020-07-23 17:18:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-23 17:18:05 +0200 |
commit | 52749121672080f93ead1cf4408fef7b2b8adde4 (patch) | |
tree | 6c2ac1a39cdcd21887628a7a7b248ce63f987615 | |
parent | dc2156600d43405019412cd82c8e0e5052a26ab1 (diff) | |
download | xmobar-52749121672080f93ead1cf4408fef7b2b8adde4.tar.gz xmobar-52749121672080f93ead1cf4408fef7b2b8adde4.tar.bz2 |
readme: Document escaping in UnsafeStdinReader
-rw-r--r-- | readme.md | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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: |